[gtk+/wip/csoriano/pathbar-prototype: 52/71] gtkhidingbox: reorder variables



commit 5551780287c937f9c7a3046b1216edd22a64f7b1
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]