[nautilus] [ln-p] GSEAL nautilus-keep-last-vertical-box.



commit 44f222288b33de74464567a1578fbf7ea69725d7
Author: Cosimo Cecchi <cosimoc gnome org>
Date:   Fri Jun 11 13:16:57 2010 +0200

    [ln-p] GSEAL nautilus-keep-last-vertical-box.

 .../nautilus-keep-last-vertical-box.c              |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/libnautilus-private/nautilus-keep-last-vertical-box.c b/libnautilus-private/nautilus-keep-last-vertical-box.c
index 5e350e1..2e0c0d5 100644
--- a/libnautilus-private/nautilus-keep-last-vertical-box.c
+++ b/libnautilus-private/nautilus-keep-last-vertical-box.c
@@ -72,14 +72,14 @@ nautilus_keep_last_vertical_box_new (gint spacing)
 
 	box = NAUTILUS_KEEP_LAST_VERTICAL_BOX (gtk_widget_new (nautilus_keep_last_vertical_box_get_type (), NULL));
 
-	GTK_BOX (box)->spacing = spacing;
+	gtk_box_set_spacing (GTK_BOX (box), spacing);
 
 	/* If homogeneous is TRUE and there are too many items to fit
 	 * naturally, they will be squashed together to fit in the space.
 	 * We want the ones that don't fit to be not shown at all, so
 	 * we set homogeneous to FALSE.
 	 */
-	GTK_BOX (box)->homogeneous = FALSE;
+	gtk_box_set_homogeneous (GTK_BOX (box), FALSE);
 
 	return GTK_WIDGET (box);
 }



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