[gnome-characters: 8/10] imports for gi to one line
- From: Daiki Ueno <dueno src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-characters: 8/10] imports for gi to one line
- Date: Wed, 20 Jun 2018 04:15:49 +0000 (UTC)
commit 9a269cea1b46cdf25ca09a3768cfc06c21e8a6e6
Author: tommy <tommyshem485 gmail com>
Date: Mon Jun 18 23:15:32 2018 +0100
imports for gi to one line
src/util.js | 7 ++-----
1 file changed, 2 insertions(+), 5 deletions(-)
---
diff --git a/src/util.js b/src/util.js
index af362bd..f3d823a 100644
--- a/src/util.js
+++ b/src/util.js
@@ -24,11 +24,8 @@
// (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
// SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
-const Gdk = imports.gi.Gdk;
-const Gio = imports.gi.Gio;
-const GObject = imports.gi.GObject;
-const Gtk = imports.gi.Gtk;
-const Gc = imports.gi.Gc;
+const {Gc, Gdk, Gio, GObject, Gtk} = imports.gi;
+
const Lang = imports.lang;
const Params = imports.params;
const System = imports.system;
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]