summaryrefslogtreecommitdiff
path: root/src/adblock.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/adblock.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/adblock.c')
-rw-r--r--src/adblock.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/adblock.c b/src/adblock.c
index e6b65f4b..328403f4 100644
--- a/src/adblock.c
+++ b/src/adblock.c
@@ -23,6 +23,7 @@
#include "domain.h"
#include "adblock.h"
#include "js.h"
+#include "dom.h"
@@ -435,7 +436,7 @@ adblock_frame_load_status_cb(WebKitWebFrame *frame, GParamSpec *p, GList *gl)
if (status == WEBKIT_LOAD_FIRST_VISUALLY_NON_EMPTY_LAYOUT)
adblock_apply_element_hider(frame, gl);
else if (status == WEBKIT_LOAD_COMMITTED)
- dwb_dom_add_frame_listener(frame, "beforeload", G_CALLBACK(adblock_before_load_cb), true, gl);
+ dom_add_frame_listener(frame, "beforeload", G_CALLBACK(adblock_before_load_cb), true, gl);
}
/* adblock_frame_created_cb {{{*/