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



commit 26867619999efd8962571e90156af3a71bf8b482
Author: Javier Jardón <jjardon gnome org>
Date:   Tue Nov 9 03:39:12 2010 +0100

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

 plugins/glade/plugin.c                      |    2 +-
 plugins/snippets-manager/snippets-browser.c |    4 ++--
 2 files changed, 3 insertions(+), 3 deletions(-)
---
diff --git a/plugins/glade/plugin.c b/plugins/glade/plugin.c
index 7718c1b..164cddf 100644
--- a/plugins/glade/plugin.c
+++ b/plugins/glade/plugin.c
@@ -382,7 +382,7 @@ activate_plugin (AnjutaPlugin *plugin)
 		                  G_CALLBACK (inspector_item_activated_cb),
 		                  plugin);
 
-		priv->paned = gtk_vpaned_new ();
+		priv->paned = gtk_paned_new (GTK_ORIENTATION_VERTICAL);
 
 		gtk_paned_add1 (GTK_PANED(priv->paned), priv->view_box);
 		gtk_paned_add2 (GTK_PANED(priv->paned), GTK_WIDGET(glade_app_get_editor()));
diff --git a/plugins/snippets-manager/snippets-browser.c b/plugins/snippets-manager/snippets-browser.c
index f813d2e..91b750a 100644
--- a/plugins/snippets-manager/snippets-browser.c
+++ b/plugins/snippets-manager/snippets-browser.c
@@ -240,7 +240,7 @@ init_browser_layout (SnippetsBrowser *snippets_browser)
 	g_return_if_fail (ANJUTA_IS_SNIPPETS_EDITOR (priv->snippets_editor));
 
 	/* Add the editor to the HPaned */	
-	priv->browser_hpaned = gtk_hpaned_new ();
+	priv->browser_hpaned = gtk_paned_new (GTK_ORIENTATION_HORIZONTAL);
 	gtk_paned_pack2 (GTK_PANED (priv->browser_hpaned),
 	                 GTK_WIDGET (priv->snippets_editor),
 	                 TRUE, FALSE);
@@ -1212,4 +1212,4 @@ GtkWidget*
 snippets_browser_get_grip (SnippetsBrowser *snippets_browser)
 {
 	return snippets_browser->priv->grip;
-}
\ No newline at end of file
+}



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