summaryrefslogtreecommitdiff
path: root/src/plugins.c
diff options
context:
space:
mode:
authorportix <portix@gmx.net>2013-01-28 23:06:32 +0100
committerportix <portix@gmx.net>2013-01-28 23:06:32 +0100
commit4f22692289c584a03414b042351725845900d9d5 (patch)
treeb6b6b215b5cc8ef9e399e65e891d1d1b2b6891c7 /src/plugins.c
parent422e28fd748f3c2b0e89aa14614a0ac42c1847fb (diff)
downloaddwb-4f22692289c584a03414b042351725845900d9d5.zip
Creating files {dom,editor}.{c,h}; fixing segfault after leaving a site when editor is closed
Diffstat (limited to 'src/plugins.c')
-rw-r--r--src/plugins.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/plugins.c b/src/plugins.c
index e71c216e..10f98f83 100644
--- a/src/plugins.c
+++ b/src/plugins.c
@@ -19,6 +19,7 @@
#include "dwb.h"
#include "util.h"
#include "view.h"
+#include "dom.h"
#define ALLOWED(g) (VIEW(g)->status->allowed_plugins)
@@ -187,7 +188,7 @@ plugins_load_status_cb(WebKitWebView *wv, GParamSpec *p, GList *gl)
void
plugins_frame_load_cb(WebKitWebFrame *frame, GParamSpec *p, GList *gl)
{
- dwb_dom_add_frame_listener(frame, "beforeload", G_CALLBACK(plugins_before_load_cb), true, gl);
+ dom_add_frame_listener(frame, "beforeload", G_CALLBACK(plugins_before_load_cb), true, gl);
}
void