From d8006d3987034f51ee84f034fb5c9cb33195600d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=B6rg=20Frings-F=C3=BCrst?= Date: Mon, 19 Jan 2015 09:43:17 +0100 Subject: Imported Upstream version 3.15.4 --- src/simple-scan.vala | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/simple-scan.vala') 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 (); } -- cgit v1.2.3