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:17 +0100
committerJörg Frings-Fürst <debian@jff-webhosting.net>2015-01-19 09:43:17 +0100
commitd8006d3987034f51ee84f034fb5c9cb33195600d (patch)
tree6617fbc43905eb346b305fbf4b83968c3ed22721 /src/simple-scan.vala
parentd09fb0180e126967c94a13b6414694dfb9be313c (diff)
Imported Upstream version 3.15.4upstream/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 ();
}