summaryrefslogtreecommitdiff
path: root/gtk/gtkfontbutton.c
diff options
context:
space:
mode:
authorTimm Bäder <mail@baedert.org>2017-04-30 21:53:05 +0200
committerTimm Bäder <mail@baedert.org>2017-05-01 21:21:40 +0200
commit5c4934cfc0ff71a967ae7dfed7561162d22509d0 (patch)
treec777b0878de5dcd37aac98a8ebd142cc0347a474 /gtk/gtkfontbutton.c
parent92b0d2e8ea8b41ea914eb4d66b48cc7dd2d34b9d (diff)
downloadgtk+-5c4934cfc0ff71a967ae7dfed7561162d22509d0.tar.gz
Chain up in size-allocate implementations
Otherwise we're not setting an allocation at all.
Diffstat (limited to 'gtk/gtkfontbutton.c')
-rw-r--r--gtk/gtkfontbutton.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/gtk/gtkfontbutton.c b/gtk/gtkfontbutton.c
index 5e5f0f9fcc..ee8e76d622 100644
--- a/gtk/gtkfontbutton.c
+++ b/gtk/gtkfontbutton.c
@@ -479,6 +479,8 @@ gtk_font_button_size_allocate (GtkWidget *widget,
GtkFontButton *button = GTK_FONT_BUTTON (widget);
GtkFontButtonPrivate *priv = gtk_font_button_get_instance_private (button);
+ GTK_WIDGET_CLASS (gtk_font_button_parent_class)->size_allocate (widget, allocation);
+
gtk_widget_size_allocate (priv->button, allocation);
}