[gedit] Use gtk_paned_new instead gtk_[h|v]paned_new
- From: Paolo Borelli <pborelli src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gedit] Use gtk_paned_new instead gtk_[h|v]paned_new
- Date: Sat, 30 Oct 2010 09:01:43 +0000 (UTC)
commit 9f12c9cd7643fdf625fc19ad4b155b29cc1f57ee
Author: Paolo Borelli <pborelli gnome org>
Date: Sat Oct 30 11:02:43 2010 +0200
Use gtk_paned_new instead gtk_[h|v]paned_new
gedit/gedit-multi-notebook.c | 2 +-
gedit/gedit-window.c | 4 ++--
2 files changed, 3 insertions(+), 3 deletions(-)
---
diff --git a/gedit/gedit-multi-notebook.c b/gedit/gedit-multi-notebook.c
index 311ff3a..68da45e 100644
--- a/gedit/gedit-multi-notebook.c
+++ b/gedit/gedit-multi-notebook.c
@@ -454,7 +454,7 @@ add_notebook (GeditMultiNotebook *mnb,
GtkAllocation allocation;
GtkWidget *active_notebook = mnb->priv->active_notebook;
- paned = gtk_hpaned_new ();
+ paned = gtk_paned_new (GTK_ORIENTATION_HORIZONTAL);
gtk_widget_show (paned);
/* First we remove the active container from its parent to make
diff --git a/gedit/gedit-window.c b/gedit/gedit-window.c
index 81800fe..3107104 100644
--- a/gedit/gedit-window.c
+++ b/gedit/gedit-window.c
@@ -4119,14 +4119,14 @@ gedit_window_init (GeditWindow *window)
/* Add the main area */
gedit_debug_message (DEBUG_WINDOW, "Add main area");
- window->priv->hpaned = gtk_hpaned_new ();
+ window->priv->hpaned = gtk_paned_new (GTK_ORIENTATION_HORIZONTAL);
gtk_box_pack_start (GTK_BOX (main_box),
window->priv->hpaned,
TRUE,
TRUE,
0);
- window->priv->vpaned = gtk_vpaned_new ();
+ window->priv->vpaned = gtk_paned_new (GTK_ORIENTATION_VERTICAL);
gtk_paned_pack2 (GTK_PANED (window->priv->hpaned),
window->priv->vpaned,
TRUE,
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]