[nautilus] Use gtk_paned_new instead gtk_[h|v]paned_new



commit 0609431a5cb3803d0b98bd333f90e3c7796f86b7
Author: Paolo Borelli <pborelli gnome org>
Date:   Mon Nov 1 10:35:41 2010 +0100

    Use gtk_paned_new instead gtk_[h|v]paned_new

 src/nautilus-navigation-window.c |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/src/nautilus-navigation-window.c b/src/nautilus-navigation-window.c
index 1155faa..f048424 100644
--- a/src/nautilus-navigation-window.c
+++ b/src/nautilus-navigation-window.c
@@ -135,7 +135,7 @@ nautilus_navigation_window_init (NautilusNavigationWindow *window)
 	window->details->header_size_group = gtk_size_group_new (GTK_SIZE_GROUP_VERTICAL);
 	gtk_size_group_set_ignore_hidden (window->details->header_size_group, FALSE);
 
-	window->details->content_paned = gtk_hpaned_new ();
+	window->details->content_paned = gtk_paned_new (GTK_ORIENTATION_HORIZONTAL);
 	gtk_table_attach (GTK_TABLE (NAUTILUS_WINDOW (window)->details->table),
 			  window->details->content_paned,
 			  /* X direction */                   /* Y direction */
@@ -149,7 +149,7 @@ nautilus_navigation_window_init (NautilusNavigationWindow *window)
 			 TRUE, FALSE);
 	gtk_widget_show (vbox);
 
-	hpaned = gtk_hpaned_new ();
+	hpaned = gtk_paned_new (GTK_ORIENTATION_HORIZONTAL);
 	gtk_box_pack_start (GTK_BOX (vbox), hpaned, TRUE, TRUE, 0);
 	gtk_widget_show (hpaned);
 	window->details->split_view_hpane = hpaned;



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