Commit 26867619 authored by Javier Jardón's avatar Javier Jardón

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

parent f615feb8
......@@ -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()));
......
......@@ -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
}
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment