gtk-demo: Always have at least 1 icon in the fishbowl

When changing the widget type, don't start out with 0 icons.
This commit is contained in:
Benjamin Otte 2018-04-26 00:17:23 +02:00
parent 3a4238e199
commit aca20dbb78

View File

@ -656,5 +656,7 @@ gtk_fishbowl_set_creation_func (GtkFishbowl *fishbowl,
priv->creation_func = creation_func; priv->creation_func = creation_func;
gtk_fishbowl_set_count (fishbowl, 1);
g_object_thaw_notify (G_OBJECT (fishbowl)); g_object_thaw_notify (G_OBJECT (fishbowl));
} }