[polari] application: Explicitly specify API versions of other modules as well
- From: Florian Müllner <fmuellner src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [polari] application: Explicitly specify API versions of other modules as well
- Date: Fri, 21 Feb 2014 12:46:13 +0000 (UTC)
commit 73fdcdb910238dc54d97b233d992e0c547f78698
Author: Florian Müllner <fmuellner gnome org>
Date: Fri Feb 21 13:41:01 2014 +0100
application: Explicitly specify API versions of other modules as well
While we're at it, we can also request specific versions of other
APIs we are using - while G-I will do what we want in those cases
(pick the latest available one), it won't hurt not relying on this.
src/application.js | 3 +++
1 files changed, 3 insertions(+), 0 deletions(-)
---
diff --git a/src/application.js b/src/application.js
index 35a7446..0012f15 100644
--- a/src/application.js
+++ b/src/application.js
@@ -1,3 +1,6 @@
+imports.gi.versions.Gio = '2.0';
+imports.gi.versions.GLib = '2.0';
+imports.gi.versions.Gtk = '3.0';
imports.gi.versions.TelepathyGLib = '0.12';
const Gio = imports.gi.Gio;
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]