Fix a problem in the last change

svn path=/trunk/; revision=17228
This commit is contained in:
Matthias Clasen 2007-01-28 03:39:46 +00:00
parent d465fbeda7
commit f560d06dd5

View File

@ -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)