diff options
author | portix <portix@gmx.net> | 2013-01-28 23:06:32 +0100 |
---|---|---|
committer | portix <portix@gmx.net> | 2013-01-28 23:06:32 +0100 |
commit | 4f22692289c584a03414b042351725845900d9d5 (patch) | |
tree | b6b6b215b5cc8ef9e399e65e891d1d1b2b6891c7 /src/plugins.c | |
parent | 422e28fd748f3c2b0e89aa14614a0ac42c1847fb (diff) | |
download | dwb-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.c | 3 |
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 |