summaryrefslogtreecommitdiff
path: root/src/simple-scan.vala
diff options
context:
space:
mode:
authorJörg Frings-Fürst <debian@jff-webhosting.net>2015-01-19 09:43:24 +0100
committerJörg Frings-Fürst <debian@jff-webhosting.net>2015-01-19 09:43:24 +0100
commit4a85dd832e768e0b229d2b6c63c66877c0b22b83 (patch)
tree63b0ca351f5d5e8df838d155a53ee0f80b72befe /src/simple-scan.vala
parentd121b2edc89c31584f5858058269364db88c9494 (diff)
parentd8006d3987034f51ee84f034fb5c9cb33195600d (diff)
Merge tag 'upstream/3.15.4'
Upstream version 3.15.4
Diffstat (limited to 'src/simple-scan.vala')
-rw-r--r--src/simple-scan.vala4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/simple-scan.vala b/src/simple-scan.vala
index 813f29b..eaa8b59 100644
--- a/src/simple-scan.vala
+++ b/src/simple-scan.vala
@@ -537,8 +537,6 @@ public class SimpleScan : Gtk.Application
Intl.bind_textdomain_codeset (GETTEXT_PACKAGE, "UTF-8");
Intl.textdomain (GETTEXT_PACKAGE);
- Gtk.init (ref args);
-
var c = new OptionContext (/* Arguments and description for --help text */
_("[DEVICE...] - Scanning utility"));
c.add_main_entries (options, GETTEXT_PACKAGE);
@@ -595,6 +593,8 @@ public class SimpleScan : Gtk.Application
debug ("Starting Simple Scan %s, PID=%i", VERSION, Posix.getpid ());
+ Gtk.init (ref args);
+
var app = new SimpleScan (device);
return app.run ();
}