[gnome-documents] application: don't call Gtk.init() manually



commit 3705d3742f636fe40f01b23105113784da5d34ed
Author: Cosimo Cecchi <cosimoc gnome org>
Date:   Mon Jan 20 15:21:32 2014 -0800

    application: don't call Gtk.init() manually
    
    GtkApplication already does this for us in startup().
    
    https://bugzilla.gnome.org/show_bug.cgi?id=722662

 src/application.js |    1 -
 1 files changed, 0 insertions(+), 1 deletions(-)
---
diff --git a/src/application.js b/src/application.js
index 9766c1f..6db3704 100644
--- a/src/application.js
+++ b/src/application.js
@@ -361,7 +361,6 @@ const Application = new Lang.Class({
         this.parent();
         String.prototype.format = Format.format;
 
-        Gtk.init(null);
         EvDoc.init();
 
         let resource = Gio.Resource.load(Path.RESOURCE_DIR + '/gnome-documents.gresource');


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