summaryrefslogtreecommitdiff
path: root/src/ui.vala
diff options
context:
space:
mode:
authorAlessio Treglia <alessio@debian.org>2012-04-04 21:01:19 +0200
committerAlessio Treglia <alessio@debian.org>2012-04-04 21:01:19 +0200
commitdf5e703852dbf7f1da95b3d73414280affd4f556 (patch)
treebcf5e0532558083d88846568009ce97b600c1bdb /src/ui.vala
parent341fc38f623905237c4bef4bd49c43a669e4376b (diff)
parent3423cc86f86a823a318ea72981dc8eb889fc7987 (diff)
Merge tag 'upstream/3.4.0'
Upstream version 3.4.0
Diffstat (limited to 'src/ui.vala')
-rw-r--r--src/ui.vala3
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 ();