From 91e2cb4129c23739d4535656a04bdc2ab4fb3c02 Mon Sep 17 00:00:00 2001 From: Christian Dywan Date: Mon, 10 Nov 2008 22:02:43 +0100 Subject: [PATCH] Unset the tab icon if it is destroyed --- midori/midori-view.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/midori/midori-view.c b/midori/midori-view.c index f664d7b0..b88a138f 100644 --- a/midori/midori-view.c +++ b/midori/midori-view.c @@ -1824,6 +1824,9 @@ midori_view_get_proxy_tab_label (MidoriView* view) G_CALLBACK (midori_view_tab_close_clicked), view); view->tab_label = event_box; + g_signal_connect (view->tab_icon, "destroy", + G_CALLBACK (gtk_widget_destroyed), + &view->tab_icon); g_signal_connect (view->tab_label, "destroy", G_CALLBACK (gtk_widget_destroyed), &view->tab_label); -- 2.39.5