[gtranslator] Use gtk_paned_new instead of gtk_[h|v]paned_new.



commit 0af87eef6d852aca54536908d9e9c52eca73ab2f
Author: Ignacio Casal Quinteiro <icq gnome org>
Date:   Sat Nov 6 19:39:36 2010 +0100

    Use gtk_paned_new instead of gtk_[h|v]paned_new.

 src/gtr-tab.c |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/src/gtr-tab.c b/src/gtr-tab.c
index 489113e..134f6ad 100644
--- a/src/gtr-tab.c
+++ b/src/gtr-tab.c
@@ -560,7 +560,7 @@ gtr_tab_draw (GtrTab * tab)
   GtrTabPrivate *priv = tab->priv;
 
   /* Content pane; this is where the message table and message area go */
-  priv->content_pane = gtk_vpaned_new ();
+  priv->content_pane = gtk_paned_new (GTK_ORIENTATION_VERTICAL);
   g_settings_bind (tab->priv->state_settings,
                    GTR_SETTINGS_CONTENT_PANEL_SIZE,
                    priv->content_pane,
@@ -657,7 +657,7 @@ gtr_tab_draw (GtrTab * tab)
                    TRUE);
 
   /* Context pane */
-  priv->context_pane = gtk_hpaned_new ();
+  priv->context_pane = gtk_paned_new (GTK_ORIENTATION_HORIZONTAL);
   g_settings_bind (tab->priv->state_settings,
                    GTR_SETTINGS_CONTEXT_PANEL_SIZE,
                    priv->context_pane,



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