keyboard: Fix a warning

imports.misc.ibusManager.IBus is declared as const, so referencing it
from another module triggers a warning with recent mozjs. As of commit
083d11a032 IBus is mandatory, so just make it a regular import to avoid
the warning.
This commit is contained in:
Florian Müllner 2018-02-21 13:09:48 +01:00
parent 1683f4953e
commit 2bce1f1510

View File

@ -3,6 +3,7 @@
const Clutter = imports.gi.Clutter; const Clutter = imports.gi.Clutter;
const Gio = imports.gi.Gio; const Gio = imports.gi.Gio;
const GLib = imports.gi.GLib; const GLib = imports.gi.GLib;
const IBus = imports.gi.IBus;
const Lang = imports.lang; const Lang = imports.lang;
const Meta = imports.gi.Meta; const Meta = imports.gi.Meta;
const Shell = imports.gi.Shell; const Shell = imports.gi.Shell;
@ -10,7 +11,6 @@ const Signals = imports.signals;
const St = imports.gi.St; const St = imports.gi.St;
const Gettext = imports.gettext; const Gettext = imports.gettext;
const IBus = imports.misc.ibusManager.IBus;
const IBusManager = imports.misc.ibusManager; const IBusManager = imports.misc.ibusManager;
const KeyboardManager = imports.misc.keyboardManager; const KeyboardManager = imports.misc.keyboardManager;
const Main = imports.ui.main; const Main = imports.ui.main;