aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
-rw-r--r--src/callbacks.c4
-rw-r--r--src/callbacks.h2
2 files changed, 4 insertions, 2 deletions
diff --git a/src/callbacks.c b/src/callbacks.c
index fbd5968..3c0eaba 100644
--- a/src/callbacks.c
+++ b/src/callbacks.c
@@ -471,7 +471,7 @@ load_status_change_cb (WebKitWebView* web_view, GParamSpec param_spec) {
}
}
-void
+gboolean
load_error_cb (WebKitWebView* page, WebKitWebFrame* frame, gchar *uri, gpointer web_err, gpointer ud) {
(void) page; (void) frame; (void) ud;
GError *err = web_err;
@@ -481,6 +481,8 @@ load_error_cb (WebKitWebView* page, WebKitWebFrame* frame, gchar *uri, gpointer
TYPE_INT, err->code,
TYPE_STR, err->message,
NULL);
+
+ return FALSE;
}
void
diff --git a/src/callbacks.h b/src/callbacks.h
index 6b76ee6..20eaa92 100644
--- a/src/callbacks.h
+++ b/src/callbacks.h
@@ -157,7 +157,7 @@ progress_change_cb (WebKitWebView* web_view, GParamSpec param_spec);
void
load_status_change_cb (WebKitWebView* web_view, GParamSpec param_spec);
-void
+gboolean
load_error_cb (WebKitWebView* page, WebKitWebFrame* frame, gchar *uri, gpointer web_err, gpointer ud);
void