diff options
author | Stefan Sauer <ensonic@users.sf.net> | 2013-08-28 21:27:36 +0200 |
---|---|---|
committer | Stefan Sauer <ensonic@users.sf.net> | 2013-08-28 21:27:36 +0200 |
commit | 2d777e8a3c44f60c0b3da68f55ecf8964c9e69ba (patch) | |
tree | 79897e03683577f9f96622ce1cba6b8df85c77a2 | |
parent | d952cbd7260579a5215aea9fefabed3606528bab (diff) |
mi-app: use the newer gtk api with orientation
-rw-r--r-- | src/mi-app.vala | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/mi-app.vala b/src/mi-app.vala index 94f6228..497c8b6 100644 --- a/src/mi-app.vala +++ b/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); |