mirror of
https://gitlab.gnome.org/GNOME/gtk.git
synced 2024-12-27 14:10:30 +00:00
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:
parent
3a4238e199
commit
aca20dbb78
@ -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));
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user