[gtk+] Fix GtkFrame padding



commit f5f80b40c36b647d5069b16736c08384cce31a11
Author: Matthias Clasen <mclasen redhat com>
Date:   Tue Dec 22 13:33:43 2015 -0500

    Fix GtkFrame padding
    
    This was showing up in the app-notification in widget-factory.

 gtk/gtkframe.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/gtk/gtkframe.c b/gtk/gtkframe.c
index 41b0948..b833178 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)


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]