[gtk+/wip/csoriano/pathbar-bin-view-window: 45/65] gtkhidingbox: use full variable names
- From: Carlos Soriano Sánchez <csoriano src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk+/wip/csoriano/pathbar-bin-view-window: 45/65] gtkhidingbox: use full variable names
- Date: Wed, 8 Jun 2016 23:08:08 +0000 (UTC)
commit 8fa1111e5ef2ce5b69ec53fe87e02a53cf432ce1
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]