[gtk+/gtk-style-context: 305/540] GtkToolItemGroup: Set widget state as state flags.
- From: Carlos Garnacho <carlosg src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk+/gtk-style-context: 305/540] GtkToolItemGroup: Set widget state as state flags.
- Date: Fri, 3 Dec 2010 03:01:46 +0000 (UTC)
commit c3cb3c1dc6a02ee04b7a393c8c17f4147cdd888a
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]