Destroy the thumb_view with WebKitGTK+ <> 1.1.14
This commit is contained in:
parent
8c62689981
commit
88becdd669
1 changed files with 2 additions and 2 deletions
|
@ -4643,8 +4643,8 @@ thumb_view_load_status_cb (MidoriView* thumb_view,
|
||||||
g_signal_handlers_disconnect_by_func (
|
g_signal_handlers_disconnect_by_func (
|
||||||
thumb_view, thumb_view_load_status_cb, view);
|
thumb_view, thumb_view_load_status_cb, view);
|
||||||
|
|
||||||
/* Destroying the view here may trigger a WebKitGTK+ bug */
|
/* Destroying the view here may trigger a WebKitGTK+ 1.1.14 bug */
|
||||||
#if !WEBKIT_CHECK_VERSION (1, 1, 14)
|
#if !WEBKIT_CHECK_VERSION (1, 1, 14) || WEBKIT_CHECK_VERSION (1, 1, 15)
|
||||||
gtk_widget_destroy (GTK_WIDGET (thumb_view));
|
gtk_widget_destroy (GTK_WIDGET (thumb_view));
|
||||||
view->thumb_view = NULL;
|
view->thumb_view = NULL;
|
||||||
#endif
|
#endif
|
||||||
|
|
Loading…
Reference in a new issue