Method size_allocate of PanelIconGrid should use gtk_widget_set_allocation().
authorAndriy Grytsenko <andrej@rep.kiev.ua>
Sat, 16 Aug 2014 19:21:10 +0000 (22:21 +0300)
committerAndriy Grytsenko <andrej@rep.kiev.ua>
Sat, 16 Aug 2014 19:21:10 +0000 (22:21 +0300)
src/icon-grid.c

index 54557b8..400d584 100644 (file)
@@ -72,6 +72,8 @@ static void panel_icon_grid_size_allocate(GtkWidget *widget,
     GList *ige;
     GtkWidget *child;
 
+    gtk_widget_set_allocation(widget, allocation);
+
     /* Get and save the desired container geometry. */
     if (ig->orientation == GTK_ORIENTATION_HORIZONTAL && allocation->height > 1)
         ig->target_dimension = allocation->height;