diff options
author | Přemysl Janouch <p.janouch@gmail.com> | 2015-01-20 07:41:54 +0100 |
---|---|---|
committer | Přemysl Janouch <p.janouch@gmail.com> | 2015-01-20 07:41:54 +0100 |
commit | e1225accf47ce3dcff0b811b8793d8898e78f9e9 (patch) | |
tree | 648be4f537684d1529c36105d90ae9eb362e7e76 /src | |
parent | 5b16953a2f6d7fbd6e0c62b8bb793afae0f59de2 (diff) | |
download | logdiag-e1225accf47ce3dcff0b811b8793d8898e78f9e9.tar.gz logdiag-e1225accf47ce3dcff0b811b8793d8898e78f9e9.tar.xz logdiag-e1225accf47ce3dcff0b811b8793d8898e78f9e9.zip |
Fix a few deprecation warnings
Diffstat (limited to 'src')
-rw-r--r-- | src/ld-window-main.c | 4 |
1 files changed, 2 insertions, 2 deletions
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); |