[gtk+/gtk-style-context] 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] GtkToolItemGroup: Set widget state as state flags.
- Date: Mon, 1 Nov 2010 03:03:01 +0000 (UTC)
commit 58434d5890dcf50858c042ba88bf6b189c2cd89c
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 2f69c08..b508642 100644
--- a/gtk/gtktoolitemgroup.c
+++ b/gtk/gtktoolitemgroup.c
@@ -1735,7 +1735,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]