[gnome-shell-extensions/gnome-3-2] drive-menu, example: import GLib before referencing it
- From: Giovanni Campagna <gcampagna src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-shell-extensions/gnome-3-2] drive-menu, example: import GLib before referencing it
- Date: Wed, 7 Dec 2011 14:07:36 +0000 (UTC)
commit 2794d9d9d77378e6062f7925f0a867bdf7289b51
Author: Giovanni Campagna <gcampagna src gnome org>
Date: Mon Nov 28 16:42:53 2011 +0100
drive-menu, example: import GLib before referencing it
extensions/drive-menu/extension.js | 1 +
extensions/example/extension.js | 1 +
2 files changed, 2 insertions(+), 0 deletions(-)
---
diff --git a/extensions/drive-menu/extension.js b/extensions/drive-menu/extension.js
index c05005f..bcc44ec 100644
--- a/extensions/drive-menu/extension.js
+++ b/extensions/drive-menu/extension.js
@@ -1,4 +1,5 @@
// Drive menu extension
+const GLib = imports.gi.GLib;
const Gio = imports.gi.Gio;
const Lang = imports.lang;
const St = imports.gi.St;
diff --git a/extensions/example/extension.js b/extensions/example/extension.js
index 1826098..28274d4 100644
--- a/extensions/example/extension.js
+++ b/extensions/example/extension.js
@@ -1,4 +1,5 @@
// Sample extension code, makes clicking on the panel show a message
+const GLib = imports.gi.GLib;
const St = imports.gi.St;
const Mainloop = imports.mainloop;
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]