]> spindle.queued.net Git - midori/commitdiff
Unset the tab icon if it is destroyed
authorChristian Dywan <christian@twotoasts.de>
Mon, 10 Nov 2008 21:02:43 +0000 (22:02 +0100)
committerChristian Dywan <christian@twotoasts.de>
Mon, 10 Nov 2008 21:02:43 +0000 (22:02 +0100)
midori/midori-view.c

index f664d7b07af018779236cfc0e394184a76351634..b88a138fddaf0a24bdac350f0a7cff96d007cef4 100644 (file)
@@ -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);