[gtk+/wip/csoriano/pathbar-prototype: 76/102] gtkhidingbox: reorder	variables
- From: Carlos Soriano Sánchez <csoriano src gnome org>
- To: commits-list gnome org
- Cc: 
- Subject: [gtk+/wip/csoriano/pathbar-prototype: 76/102] gtkhidingbox: reorder	variables
- Date: Wed, 25 May 2016 15:21:01 +0000 (UTC)
commit 9a0ac6c47d2edfb4be22285f0cba384b26595a58
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]