From f560d06dd5f216a69d7dc4564c388366076546d3 Mon Sep 17 00:00:00 2001 From: Matthias Clasen Date: Sun, 28 Jan 2007 03:39:46 +0000 Subject: Fix a problem in the last change svn path=/trunk/; revision=17228 --- gtk/gtktoolbutton.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'gtk/gtktoolbutton.c') diff --git a/gtk/gtktoolbutton.c b/gtk/gtktoolbutton.c index 7c126931dd..3f28f41615 100644 --- a/gtk/gtktoolbutton.c +++ b/gtk/gtktoolbutton.c @@ -501,7 +501,8 @@ gtk_tool_button_property_notify (GObject *object, { GtkToolButton *button = GTK_TOOL_BUTTON (object); - if (button->priv->contents_invalid) + if (button->priv->contents_invalid || + strcmp ("is-important", pspec->name) == 0) gtk_tool_button_construct_contents (GTK_TOOL_ITEM (object)); if (parent_class->notify) -- cgit v1.2.1