Unset the tab icon if it is destroyed

This commit is contained in:
Christian Dywan 2008-11-10 22:02:43 +01:00
parent 709504d400
commit 91e2cb4129

View file

@ -1824,6 +1824,9 @@ midori_view_get_proxy_tab_label (MidoriView* view)
G_CALLBACK (midori_view_tab_close_clicked), view); G_CALLBACK (midori_view_tab_close_clicked), view);
view->tab_label = event_box; 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_signal_connect (view->tab_label, "destroy",
G_CALLBACK (gtk_widget_destroyed), G_CALLBACK (gtk_widget_destroyed),
&view->tab_label); &view->tab_label);