From 2a322ab1680fd1ab2a2234bbd538d9a6ef3b0cf9 Mon Sep 17 00:00:00 2001 From: Stefan Sauer Date: Wed, 28 Aug 2013 21:27:36 +0200 Subject: [PATCH] mi-app: use the newer gtk api with orientation --- mediainfo/src/mi-app.vala | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/mediainfo/src/mi-app.vala b/mediainfo/src/mi-app.vala index 94f6228e57..497c8b6dff 100644 --- a/mediainfo/src/mi-app.vala +++ b/mediainfo/src/mi-app.vala @@ -27,7 +27,7 @@ public class MediaInfo.App : Window public string directory { get; set; } - public App(string? directory) + public App (string? directory) { GLib.Object (type : WindowType.TOPLEVEL); this.directory = directory; @@ -42,13 +42,13 @@ public class MediaInfo.App : Window } destroy.connect (Gtk.main_quit); - VBox vbox = new VBox( false, 0); + Box vbox = new Box (Gtk.Orientation.VERTICAL, 0); add (vbox); // add a menubar - vbox.pack_start (create_menu(), false, false, 0); + vbox.pack_start (create_menu (), false, false, 0); - HPaned paned = new HPaned (); + Paned paned = new Paned (Gtk.Orientation.HORIZONTAL); paned.set_border_width (0); vbox.pack_start (paned, true, true, 3);