[gnome-maps/wip/fix-geoloc: 2/11] Util: remove code referencing pkg



commit 494e5761b32bf70534a18d8a2248bd0672ad43c3
Author: Mattias Bengtsson <mattias jc bengtsson gmail com>
Date:   Fri Jul 19 10:37:32 2013 +0200

    Util: remove code referencing pkg
    
    Since we don't use the pkg stuff Giovanni has written, we shouldn't
    have code that references it. This commit removes one such reference
    in utils.js
    
    https://bugzilla.gnome.org/show_bug.cgi?id=704537

 src/utils.js |    3 ---
 1 files changed, 0 insertions(+), 3 deletions(-)
---
diff --git a/src/utils.js b/src/utils.js
index 09df902..95f2292 100644
--- a/src/utils.js
+++ b/src/utils.js
@@ -58,9 +58,6 @@ function addJSSignalMethods(proto) {
 }
 
 function loadStyleSheet(file) {
-    file = file || Gio.file_new_for_path(GLib.build_filenamev([pkg.pkgdatadir,
-                                                               'application.css']));
-
     let provider = new Gtk.CssProvider();
     provider.load_from_file(file);
     Gtk.StyleContext.add_provider_for_screen(Gdk.Screen.get_default(),


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