[gnome-color-manager] Use gtk_box_new() instead gtk_[v|h]box_new()



commit 2f56eec6ab87e11ca1ea6594935a02bc6830c826
Author: Javier Jardón <jjardon gnome org>
Date:   Sat Oct 30 02:43:23 2010 +0200

    Use gtk_box_new() instead gtk_[v|h]box_new()

 libcolor-glib/gcm-sample-window.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/libcolor-glib/gcm-sample-window.c b/libcolor-glib/gcm-sample-window.c
index c291c03..9914642 100644
--- a/libcolor-glib/gcm-sample-window.c
+++ b/libcolor-glib/gcm-sample-window.c
@@ -208,7 +208,7 @@ gcm_sample_window_init (GcmSampleWindow *sample_window)
 	sample_window->priv->progress_bar = gtk_progress_bar_new ();
 
 	/* pack in two widgets into the window */
-	vbox = gtk_vbox_new (FALSE, 0);
+	vbox = gtk_box_new (GTK_ORIENTATION_VERTICAL, FALSE, 0);
 	gtk_container_add (GTK_CONTAINER (sample_window), vbox);
 	gtk_box_pack_start (GTK_BOX (vbox), sample_window->priv->image, TRUE, TRUE, 0);
 	gtk_box_pack_start (GTK_BOX (vbox), sample_window->priv->progress_bar, TRUE, TRUE, 0);



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