From: Christian Dywan Date: Thu, 28 Jan 2010 22:28:37 +0000 (+0100) Subject: Destroy the thumb_view with WebKitGTK+ <> 1.1.14 X-Git-Url: https://spindle.queued.net/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=88becdd669372ee2e8243241acaa53252d1b1f66;p=midori Destroy the thumb_view with WebKitGTK+ <> 1.1.14 --- 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