From e1225accf47ce3dcff0b811b8793d8898e78f9e9 Mon Sep 17 00:00:00 2001
From: Přemysl Janouch
Date: Tue, 20 Jan 2015 07:41:54 +0100
Subject: Fix a few deprecation warnings
---
src/ld-window-main.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
(limited to 'src')
diff --git a/src/ld-window-main.c b/src/ld-window-main.c
index d74fb7d..94cb1c7 100644
--- a/src/ld-window-main.c
+++ b/src/ld-window-main.c
@@ -299,7 +299,7 @@ ld_window_main_init (LdWindowMain *self)
GTK_POLICY_NEVER, GTK_POLICY_AUTOMATIC);
gtk_container_add (GTK_CONTAINER (priv->lv_window), priv->lv_viewport);
- priv->paned = gtk_hpaned_new ();
+ priv->paned = gtk_paned_new (GTK_ORIENTATION_HORIZONTAL);
gtk_paned_pack1 (GTK_PANED (priv->paned),
priv->lv_window, FALSE, FALSE);
gtk_paned_pack2 (GTK_PANED (priv->paned),
@@ -307,7 +307,7 @@ ld_window_main_init (LdWindowMain *self)
gtk_paned_set_position (GTK_PANED (priv->paned), 180);
/* Pack all widgets into the window. */
- priv->vbox = gtk_vbox_new (FALSE, 0);
+ priv->vbox = gtk_box_new (GTK_ORIENTATION_VERTICAL, 0);
gtk_box_pack_start (GTK_BOX (priv->vbox), priv->menu, FALSE, FALSE, 0);
gtk_box_pack_start (GTK_BOX (priv->vbox), priv->toolbar, FALSE, FALSE, 0);
gtk_box_pack_start (GTK_BOX (priv->vbox), priv->paned, TRUE, TRUE, 0);
--
cgit v1.2.3-70-g09d2