From 88becdd669372ee2e8243241acaa53252d1b1f66 Mon Sep 17 00:00:00 2001 From: Christian Dywan Date: Thu, 28 Jan 2010 23:28:37 +0100 Subject: [PATCH] Destroy the thumb_view with WebKitGTK+ <> 1.1.14 --- midori/midori-view.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/midori/midori-view.c b/midori/midori-view.c index 47979547..071cf9d8 100644 --- a/midori/midori-view.c +++ b/midori/midori-view.c @@ -4643,8 +4643,8 @@ thumb_view_load_status_cb (MidoriView* thumb_view, g_signal_handlers_disconnect_by_func ( thumb_view, thumb_view_load_status_cb, view); - /* Destroying the view here may trigger a WebKitGTK+ bug */ - #if !WEBKIT_CHECK_VERSION (1, 1, 14) + /* Destroying the view here may trigger a WebKitGTK+ 1.1.14 bug */ + #if !WEBKIT_CHECK_VERSION (1, 1, 14) || WEBKIT_CHECK_VERSION (1, 1, 15) gtk_widget_destroy (GTK_WIDGET (thumb_view)); view->thumb_view = NULL; #endif