summaryrefslogtreecommitdiff
path: root/gtk/gtktoolbutton.c
diff options
context:
space:
mode:
authorMatthias Clasen <matthiasc@src.gnome.org>2007-01-28 03:39:46 +0000
committerMatthias Clasen <matthiasc@src.gnome.org>2007-01-28 03:39:46 +0000
commitf560d06dd5f216a69d7dc4564c388366076546d3 (patch)
tree46db1ace565997a2f1ebf176ae5acb0f73708a6b /gtk/gtktoolbutton.c
parentd465fbeda745525485098815a5a702d7d6b031d7 (diff)
downloadgtk+-f560d06dd5f216a69d7dc4564c388366076546d3.tar.gz
Fix a problem in the last change
svn path=/trunk/; revision=17228
Diffstat (limited to 'gtk/gtktoolbutton.c')
-rw-r--r--gtk/gtktoolbutton.c3
1 files changed, 2 insertions, 1 deletions
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)