[gnome-sudoku] main: do not call Gtk.init()



commit c96614460043387fddc57cc70e813f4030140379
Author: Michael Catanzaro <mcatanzaro gnome org>
Date:   Sat May 31 10:23:53 2014 -0500

    main: do not call Gtk.init()
    
    Gtk.Application will handle this for us

 src/main.vala |    2 --
 1 files changed, 0 insertions(+), 2 deletions(-)
---
diff --git a/src/main.vala b/src/main.vala
index 0abb882..ab993a2 100644
--- a/src/main.vala
+++ b/src/main.vala
@@ -34,8 +34,6 @@ private static const OptionEntry[] options =
 
 public static int main (string[] args)
 {
-    Gtk.init (ref args);
-
     var c = new OptionContext (/* Arguments and description for --help text */
                                    _("[FILE] - Play Sudoku"));
     c.add_main_entries (options, GETTEXT_PACKAGE);


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]