[gtk+/wip/csoriano/pathbar-prototype: 155/167] gtkhidingbox: use full variable names



commit 2b0ba08e77af991593a95bc7371d244366dc8dcc
Author: Carlos Soriano <csoriano gnome org>
Date:   Wed Nov 4 16:26:55 2015 +0100

    gtkhidingbox: use full variable names

 gtk/gtkhidingbox.c |   17 +++++++++--------
 1 files changed, 9 insertions(+), 8 deletions(-)
---
diff --git a/gtk/gtkhidingbox.c b/gtk/gtkhidingbox.c
index d4edcfb..1a62d17 100644
--- a/gtk/gtkhidingbox.c
+++ b/gtk/gtkhidingbox.c
@@ -345,24 +345,25 @@ gtk_hiding_box_get_preferred_width (GtkWidget *widget,
 
 static void
 gtk_hiding_box_get_preferred_height (GtkWidget *widget,
-                                     gint      *min,
-                                     gint      *nat)
+                                     gint      *minimum_height,
+                                     gint      *natural_height)
 {
   GtkHidingBox *box = GTK_HIDING_BOX (widget);
   GtkHidingBoxPrivate *priv = gtk_hiding_box_get_instance_private (box);
-  gint cm, cn;
+  gint child_minimum_height;
+  gint child_natural_height;
   GList *child;
 
-  *min = 0;
-  *nat = 0;
+  *minimum_height = 0;
+  *natural_height = 0;
   for (child = priv->children; child != NULL; child = child->next)
     {
       if (!gtk_widget_is_visible (child->data))
         continue;
 
-      gtk_widget_get_preferred_height (child->data, &cm, &cn);
-      *min = MAX (*min, cm);
-      *nat = MAX (*nat, cn);
+      gtk_widget_get_preferred_height (child->data, &child_minimum_height, &child_natural_height);
+      *minimum_height = MAX (*minimum_height, child_minimum_height);
+      *natural_height = MAX (*natural_height, child_natural_height);
     }
 }
 


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