notebook: fixup previous commit

Oops, I hit push too early.
This commit is contained in:
Cosimo Cecchi 2012-01-18 16:14:31 -05:00
parent 70cf23a729
commit 637e6688da

View File

@ -6508,13 +6508,6 @@ gtk_notebook_update_tab_states (GtkNotebook *notebook)
{
GtkRegionFlags current_flags;
/*
if (page == priv->cur_page)
gtk_widget_set_state_flags (page->tab_label, GTK_STATE_FLAG_ACTIVE, FALSE);
else
gtk_widget_unset_state_flags (page->tab_label, GTK_STATE_FLAG_ACTIVE);
*/
/* FIXME: We should store these flags somewhere instead of poking
* the widget's path */
if (!gtk_widget_path_iter_has_region (gtk_widget_get_path (page->tab_label),