diff options
author | Timm Bäder <mail@baedert.org> | 2017-05-05 19:18:53 +0200 |
---|---|---|
committer | Matthias Clasen <mclasen@redhat.com> | 2017-07-19 21:27:12 -0400 |
commit | 60e053f52abe147c69f1c7aaba699bec5a780fd3 (patch) | |
tree | c9c90c1bc35229966a087c99d83f2e35c85f41e1 /demos | |
parent | cd6a8bff8fc2130f9edfcff5b67271c7cc9c700f (diff) | |
download | gtk+-60e053f52abe147c69f1c7aaba699bec5a780fd3.tar.gz |
Remove calls to gtk_widget_set_allocation
gtk_widget_size_allocate_with_baselines does it automatically now.
Diffstat (limited to 'demos')
-rw-r--r-- | demos/gtk-demo/gtkfishbowl.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/demos/gtk-demo/gtkfishbowl.c b/demos/gtk-demo/gtkfishbowl.c index fd7b2627da..447610c3c7 100644 --- a/demos/gtk-demo/gtkfishbowl.c +++ b/demos/gtk-demo/gtkfishbowl.c @@ -113,8 +113,6 @@ gtk_fishbowl_size_allocate (GtkWidget *widget, GtkRequisition child_requisition; GList *children; - gtk_widget_set_allocation (widget, allocation); - for (children = priv->children; children; children = children->next) { child = children->data; @@ -130,6 +128,8 @@ gtk_fishbowl_size_allocate (GtkWidget *widget, gtk_widget_size_allocate (child->widget, &child_allocation); } + + gtk_widget_set_clip (widget, allocation); } static double |