diff --git a/extensions/adblock.c b/extensions/adblock.c index 0d46d9e..9ba8095 100644 --- a/extensions/adblock.c +++ b/extensions/adblock.c @@ -840,6 +840,7 @@ adblock_custom_block_image_cb (GtkWidget* widget, GtkWidget* entry; gchar* title;
+ g_return_if_fail (MIDORI_IS_EXTENSION (extension)); app = midori_extension_get_app (extension); browser = katze_object_get_object (app, "browser");
Can you please try this workaround?
callback of midori_browser_foreach () have only 2 arguments, while we expecting 3. which is causing MidoriExtension which we are passing to be null.
diff --git a/extensions/ adblock. c b/extensions/ adblock. c adblock. c adblock. c custom_ block_image_ cb (GtkWidget* widget,
index 0d46d9e..9ba8095 100644
--- a/extensions/
+++ b/extensions/
@@ -840,6 +840,7 @@ adblock_
GtkWidget* entry;
gchar* title;
+ g_return_if_fail (MIDORI_ IS_EXTENSION (extension)); extension_ get_app (extension); get_object (app, "browser");
app = midori_
browser = katze_object_
Can you please try this workaround?
callback of midori_ browser_ foreach () have only 2 arguments, while we expecting 3. which is causing MidoriExtension which we are passing to be null.