diff options
Diffstat (limited to 'src/ui.vala')
-rw-r--r-- | src/ui.vala | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/ui.vala b/src/ui.vala index 4287d13..f8521d0 100644 --- a/src/ui.vala +++ b/src/ui.vala @@ -637,6 +637,7 @@ public class SimpleScan { Gtk.TreeIter iter; + width = height = 0; if (paper_size_combo.get_active_iter (out iter)) { paper_size_model.get (iter, 0, ref width, 1, ref height, -1); @@ -1305,7 +1306,7 @@ public class SimpleScan info_bar = new Gtk.InfoBar (); info_bar.response.connect (info_bar_response_cb); main_vbox.pack_start (info_bar, false, true, 0); - var hbox = new Gtk.HBox (false, 12); + var hbox = new Gtk.Box (Gtk.Orientation.HORIZONTAL, 12); var content_area = (Gtk.Container) info_bar.get_content_area (); content_area.add (hbox); hbox.show (); |