summaryrefslogtreecommitdiff
path: root/gtk/gtkframe.c
diff options
context:
space:
mode:
authorMatthias Clasen <mclasen@redhat.com>2015-12-22 13:33:43 -0500
committerMatthias Clasen <mclasen@redhat.com>2015-12-22 13:53:43 -0500
commitf5f80b40c36b647d5069b16736c08384cce31a11 (patch)
treeb8423459edf57c43a07ea16d0b37f44d82d7245a /gtk/gtkframe.c
parent23d8791a47e9bd5c7a306bbdd53c5e337a3538fe (diff)
downloadgtk+-f5f80b40c36b647d5069b16736c08384cce31a11.tar.gz
Fix GtkFrame padding
This was showing up in the app-notification in widget-factory.
Diffstat (limited to 'gtk/gtkframe.c')
-rw-r--r--gtk/gtkframe.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gtk/gtkframe.c b/gtk/gtkframe.c
index 41b094840c..b83317869a 100644
--- a/gtk/gtkframe.c
+++ b/gtk/gtkframe.c
@@ -875,7 +875,7 @@ gtk_frame_real_compute_child_allocation (GtkFrame *frame,
GtkAllocation allocation;
gint border_width, height;
- gtk_widget_get_allocation (widget, &allocation);
+ gtk_css_gadget_get_content_allocation (priv->gadget, &allocation, NULL);
border_width = gtk_container_get_border_width (GTK_CONTAINER (frame));
if (priv->label_widget)