From: Christian Dywan Date: Mon, 10 Nov 2008 21:02:43 +0000 (+0100) Subject: Unset the tab icon if it is destroyed X-Git-Url: https://spindle.queued.net/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=91e2cb4129c23739d4535656a04bdc2ab4fb3c02;p=midori Unset the tab icon if it is destroyed --- 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);