Remove use of deprecated "lang" package
This commit is contained in:
parent
1d3328f71e
commit
7a5f506c23
|
@ -31,7 +31,6 @@
|
|||
|
||||
const St = imports.gi.St;
|
||||
const Gio = imports.gi.Gio;
|
||||
const Lang = imports.lang;
|
||||
const GLib = imports.gi.GLib
|
||||
const Main = imports.ui.main;
|
||||
const Mainloop = imports.mainloop;
|
||||
|
@ -105,7 +104,7 @@ class SignalMgt {
|
|||
id = widget.connect('scroll-event', this._onScroll.bind(this));
|
||||
array.push(id);
|
||||
widget.set_reactive(true);
|
||||
id = widget.connect('button-release-event', Lang.bind(this, this._clicked));
|
||||
id = widget.connect('button-release-event', this._clicked.bind(this));
|
||||
array.push(id);
|
||||
}
|
||||
|
||||
|
@ -170,7 +169,7 @@ class SignalMgt {
|
|||
this.nbClicks = 1;
|
||||
|
||||
Mainloop.timeout_add(this.dbus.ClutterSettings['double-click-time'],
|
||||
Lang.bind(this, this._doClickCallback));
|
||||
this._doClickCallback.bind(this));
|
||||
}
|
||||
|
||||
return Clutter.EVENT_PROPAGATE;
|
||||
|
|
Loading…
Reference in New Issue
Block a user