[gtk+/gtk-style-context: 306/347] GtkToolItemGroup: Set widget state as state flags.



commit 3fb63aa5b9c58f4253e1f1d4493efd1e1ec5d532
Author: Carlos Garnacho <carlosg gnome org>
Date:   Sun Oct 31 14:45:41 2010 +0100

    GtkToolItemGroup: Set widget state as state flags.

 gtk/gtktoolitemgroup.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/gtk/gtktoolitemgroup.c b/gtk/gtktoolitemgroup.c
index 7983667..abcc640 100644
--- a/gtk/gtktoolitemgroup.c
+++ b/gtk/gtktoolitemgroup.c
@@ -1752,7 +1752,7 @@ gtk_tool_item_group_set_label_widget (GtkToolItemGroup *group,
 
   if (priv->label_widget)
     {
-      gtk_widget_set_state (priv->label_widget, GTK_STATE_NORMAL);
+      gtk_widget_set_state_flags (priv->label_widget, 0, TRUE);
       gtk_container_remove (GTK_CONTAINER (alignment), priv->label_widget);
     }
 



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