[gtk+] notebook: fixup previous commit



commit 637e6688da6018a3d49b0a2ae93f24d2a28c4cfd
Author: Cosimo Cecchi <cosimoc gnome org>
Date:   Wed Jan 18 16:14:31 2012 -0500

    notebook: fixup previous commit
    
    Oops, I hit push too early.

 gtk/gtknotebook.c |    7 -------
 1 files changed, 0 insertions(+), 7 deletions(-)
---
diff --git a/gtk/gtknotebook.c b/gtk/gtknotebook.c
index 62a8535..b854877 100644
--- a/gtk/gtknotebook.c
+++ b/gtk/gtknotebook.c
@@ -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),



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]