[rhythmbox] header: chain up in size_allocate



commit 0598c9ddb23b7b6da3e1f3d3fa3f9df4a470333c
Author: Jonathan Matthew <jonathan d14n org>
Date:   Tue Mar 15 09:59:14 2016 +1000

    header: chain up in size_allocate
    
    We re-allocate everything immediately afterwards, but GtkGrid now has
    a css gadget that needs to have its own sizing applied first.
    
    https://bugzilla.gnome.org/show_bug.cgi?id=763435

 widgets/rb-header.c |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)
---
diff --git a/widgets/rb-header.c b/widgets/rb-header.c
index 134913a..f77916e 100644
--- a/widgets/rb-header.c
+++ b/widgets/rb-header.c
@@ -596,6 +596,8 @@ rb_header_size_allocate (GtkWidget *widget, GtkAllocation *allocation)
        GtkAllocation child_alloc;
        gboolean rtl;
 
+       GTK_WIDGET_CLASS (rb_header_parent_class)->size_allocate (widget, allocation);
+
        gtk_widget_set_allocation (widget, allocation);
        spacing = gtk_grid_get_column_spacing (GTK_GRID (widget));
        rtl = (gtk_widget_get_direction (widget) == GTK_TEXT_DIR_RTL);


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