[epiphany] Use gtk_paned_new() instead gtk_[h|v]paned_new()



commit bf1552fa311a957253e7e6b89d94e64f39016398
Author: Javier Jardón <jjardon gnome org>
Date:   Tue Nov 9 02:52:27 2010 +0100

    Use gtk_paned_new() instead gtk_[h|v]paned_new()

 embed/ephy-embed.c                    |    2 +-
 src/bookmarks/ephy-bookmarks-editor.c |    2 +-
 src/ephy-history-window.c             |    2 +-
 3 files changed, 3 insertions(+), 3 deletions(-)
---
diff --git a/embed/ephy-embed.c b/embed/ephy-embed.c
index 77066d3..7605d92 100644
--- a/embed/ephy-embed.c
+++ b/embed/ephy-embed.c
@@ -317,7 +317,7 @@ ephy_embed_attach_inspector_cb (WebKitWebInspector *inspector,
 
   if (embed->priv->paned == NULL)
   {
-    embed->priv->paned = GTK_PANED (gtk_vpaned_new ());
+    embed->priv->paned = GTK_PANED (gtk_paned_new (GTK_ORIENTATION_VERTICAL));
     g_object_ref_sink (embed->priv->paned);
   }
 
diff --git a/src/bookmarks/ephy-bookmarks-editor.c b/src/bookmarks/ephy-bookmarks-editor.c
index be79d00..a778a1b 100644
--- a/src/bookmarks/ephy-bookmarks-editor.c
+++ b/src/bookmarks/ephy-bookmarks-editor.c
@@ -1688,7 +1688,7 @@ ephy_bookmarks_editor_construct (EphyBookmarksEditor *editor)
 	editor->priv->ui_merge = ui_merge;
 	editor->priv->action_group = action_group;
 
-	hpaned = gtk_hpaned_new ();
+	hpaned = gtk_paned_new (GTK_ORIENTATION_HORIZONTAL);
 	gtk_container_set_border_width (GTK_CONTAINER (hpaned), 0);
 	gtk_box_pack_end (GTK_BOX (editor->priv->main_vbox), hpaned,
 			  TRUE, TRUE, 0);
diff --git a/src/ephy-history-window.c b/src/ephy-history-window.c
index f3626b2..166c219 100644
--- a/src/ephy-history-window.c
+++ b/src/ephy-history-window.c
@@ -1128,7 +1128,7 @@ ephy_history_window_construct (EphyHistoryWindow *editor)
 	editor->priv->ui_merge = ui_merge;
 	editor->priv->action_group = action_group;
 
-	hpaned = gtk_hpaned_new ();
+	hpaned = gtk_paned_new (GTK_ORIENTATION_HORIZONTAL);
 	gtk_container_set_border_width (GTK_CONTAINER (hpaned), 0);
 	gtk_box_pack_end (GTK_BOX (editor->priv->main_vbox), hpaned,
 			  TRUE, TRUE, 0);



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