[gnome-maps/wip/fix-geoloc: 3/11] Util: remove code referencing pkg
- From: Mattias Bengtsson <mattiasb src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-maps/wip/fix-geoloc: 3/11] Util: remove code referencing pkg
- Date: Fri, 19 Jul 2013 10:07:26 +0000 (UTC)
commit 02e43f4d38d4c955ed983ff178564542b9846c18
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
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]