diff options
author | Marcus Lundblad <ml@update.uu.se> | 2018-01-07 22:06:46 +0100 |
---|---|---|
committer | Marcus Lundblad <ml@update.uu.se> | 2018-02-05 22:10:13 +0100 |
commit | 342b2364fdccd5a361b69c3b5225cafa000ce9d0 (patch) | |
tree | 1b674e644034588530867be24e4ec20352f3ec39 | |
parent | acff05f0835ad1a228c1b0dc3ec5a7395fe028da (diff) | |
download | gnome-maps-342b2364fdccd5a361b69c3b5225cafa000ce9d0.tar.gz |
utils: Remove unused functionwip/mlundblad/es6
Remove the legacy addSignalMethods function, as all
classes now declares their signals via the
GObject.registerClass() property map.
https://bugzilla.gnome.org/show_bug.cgi?id=722758
-rw-r--r-- | src/utils.js | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/src/utils.js b/src/utils.js index eb47cf04..ff82067f 100644 --- a/src/utils.js +++ b/src/utils.js @@ -26,7 +26,6 @@ const GdkPixbuf = imports.gi.GdkPixbuf; const Geocode = imports.gi.GeocodeGlib; const Gio = imports.gi.Gio; const Gtk = imports.gi.Gtk; -const Signals = imports.signals; const Soup = imports.gi.Soup; var METRIC_SYSTEM = 1; @@ -67,11 +66,6 @@ function once(obj, signal, callback) { }); } -function addSignalMethods(proto) { - Signals.addSignalMethods(proto); - proto.once = once.bind(undefined, proto); -} - function loadStyleSheet(file) { let provider = new Gtk.CssProvider(); provider.load_from_file(file); |