projects
/
gtk4.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3a4238e
)
gtk-demo: Always have at least 1 icon in the fishbowl
author
Benjamin Otte
<otte@redhat.com>
Wed, 25 Apr 2018 22:17:23 +0000
(
00:17
+0200)
committer
Benjamin Otte
<otte@redhat.com>
Fri, 27 Apr 2018 12:32:28 +0000
(14:32 +0200)
When changing the widget type, don't start out with 0 icons.
demos/gtk-demo/gtkfishbowl.c
patch
|
blob
|
history
diff --git
a/demos/gtk-demo/gtkfishbowl.c
b/demos/gtk-demo/gtkfishbowl.c
index f29d67b064f5b484d0d3254fc34be60f1dc5d271..642db66afecccc85ec9fc55964578e3c59909aab 100644
(file)
--- a/
demos/gtk-demo/gtkfishbowl.c
+++ b/
demos/gtk-demo/gtkfishbowl.c
@@
-656,5
+656,7
@@
gtk_fishbowl_set_creation_func (GtkFishbowl *fishbowl,
priv->creation_func = creation_func;
+ gtk_fishbowl_set_count (fishbowl, 1);
+
g_object_thaw_notify (G_OBJECT (fishbowl));
}