[grisbi-devel] [PATCH 03/12] replace gtk_hpaned_new () by gtk_paned_new ( GTK_ORIENTATION_HORIZONTAL )

pbiava pierre.biava at nerim.net
Mon Mar 4 21:19:32 CET 2013


---
 src/fenetre_principale.c | 2 +-
 src/parametres.c         | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/fenetre_principale.c b/src/fenetre_principale.c
index 7d7c77a..3f55768 100644
--- a/src/fenetre_principale.c
+++ b/src/fenetre_principale.c
@@ -143,7 +143,7 @@ GtkWidget *gsb_gui_create_general_widgets ( void )
     gsb_gui_update_show_headings ();
 
     /* Then create and fill the main hpaned. */
-    hpaned_general = gtk_hpaned_new ();
+    hpaned_general = gtk_paned_new ( GTK_ORIENTATION_HORIZONTAL );
     g_signal_connect ( G_OBJECT ( hpaned_general ),
 		       "size_allocate",
 		       G_CALLBACK ( gsb_gui_hpaned_size_allocate ),
diff --git a/src/parametres.c b/src/parametres.c
index dc3f9dd..33773e7 100644
--- a/src/parametres.c
+++ b/src/parametres.c
@@ -555,7 +555,7 @@ gboolean preferences ( gint page )
 
     /* Create List & Tree for topics */
     tree = create_preferences_tree();
-    hpaned = gtk_hpaned_new();
+    hpaned = gtk_paned_new( GTK_ORIENTATION_HORIZONTAL );
     gtk_paned_add1 ( GTK_PANED(hpaned), tree );
     hbox = gtk_box_new ( GTK_ORIENTATION_HORIZONTAL, 0 );
     gtk_paned_add2 ( GTK_PANED (hpaned), hbox );
-- 
1.8.1.5



More information about the devel mailing list