From f5e6006954e630da3d85aea7515cfe2b5d2055f5 Mon Sep 17 00:00:00 2001 From: Christian Dywan Date: Sat, 21 Feb 2009 22:12:34 +0100 Subject: [PATCH] Remove destroy callback from web view --- midori/midori-view.c | 10 ---------- 1 file changed, 10 deletions(-) diff --git a/midori/midori-view.c b/midori/midori-view.c index 850806de..d49c0374 100644 --- a/midori/midori-view.c +++ b/midori/midori-view.c @@ -1159,14 +1159,6 @@ webkit_web_view_window_object_cleared_cb (GtkWidget* web_view, g_signal_emit (view, signals[CONTEXT_READY], 0, js_context); } -static void -webkit_web_view_destroy_cb (GtkWidget* web_view, - WebKitWebFrame* web_frame) -{ - g_signal_handlers_disconnect_by_func (web_frame, - webkit_web_frame_load_done_cb, gtk_widget_get_parent (web_view)); -} - static void midori_view_init (MidoriView* view) { @@ -1557,8 +1549,6 @@ midori_view_construct_web_view (MidoriView* view) webkit_web_view_console_message_cb, view, "signal::window-object-cleared", webkit_web_view_window_object_cleared_cb, view, - "signal::destroy", - webkit_web_view_destroy_cb, web_frame, NULL); if (g_signal_lookup ("create-web-view", WEBKIT_TYPE_WEB_VIEW)) g_object_connect (view->web_view, -- 2.39.5