[gtk+/wip/csoriano/pathbar-prototype: 2663/2683] gtkhidingbox: reorder variables



commit b3eceff0c8d6e4d5761b619a86cfe9c9587ca0e4
Author: Carlos Soriano <csoriano gnome org>
Date:   Wed Nov 4 16:05:21 2015 +0100

    gtkhidingbox: reorder variables

 gtk/gtkhidingbox.c |    7 +++----
 1 files changed, 3 insertions(+), 4 deletions(-)
---
diff --git a/gtk/gtkhidingbox.c b/gtk/gtkhidingbox.c
index 6f94925..45f7882 100644
--- a/gtk/gtkhidingbox.c
+++ b/gtk/gtkhidingbox.c
@@ -161,20 +161,19 @@ gtk_hiding_box_size_allocate (GtkWidget     *widget,
 {
   GtkHidingBox *box = GTK_HIDING_BOX (widget);
   GtkHidingBoxPrivate *priv = gtk_hiding_box_get_instance_private (box);
-  gint n_visible_children;
-
   GtkTextDirection direction;
   GtkAllocation child_allocation;
   GtkRequestedSize *sizes;
-
   gint size;
   gint extra = 0;
   gint n_extra_widgets = 0; /* Number of widgets that receive 1 extra px */
-  gint x = 0, i;
+  gint x = 0;
+  gint i;
   GList *child;
   GtkWidget *child_widget;
   gint spacing = priv->spacing;
   gint children_size;
+  gint n_visible_children;
   GtkAllocation clip, child_clip;
 
   gtk_widget_set_allocation (widget, allocation);


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