diff options
author | Matthias Clasen <matthiasc@src.gnome.org> | 2007-01-28 03:39:46 +0000 |
---|---|---|
committer | Matthias Clasen <matthiasc@src.gnome.org> | 2007-01-28 03:39:46 +0000 |
commit | f560d06dd5f216a69d7dc4564c388366076546d3 (patch) | |
tree | 46db1ace565997a2f1ebf176ae5acb0f73708a6b | |
parent | d465fbeda745525485098815a5a702d7d6b031d7 (diff) | |
download | gtk+-f560d06dd5f216a69d7dc4564c388366076546d3.tar.gz |
Fix a problem in the last change
svn path=/trunk/; revision=17228
-rw-r--r-- | gtk/gtktoolbutton.c | 3 |
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) |