[gnome-shell] [main] Explicitly require the Clutter and Gtk versions we want
- From: Colin Walters <walters src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-shell] [main] Explicitly require the Clutter and Gtk versions we want
- Date: Thu, 20 May 2010 21:03:00 +0000 (UTC)
commit 11cde5310887a47e2f1e176d9a37c1787a16a72d
Author: Colin Walters <walters verbum org>
Date: Thu May 20 16:42:40 2010 -0400
[main] Explicitly require the Clutter and Gtk versions we want
By default introspection will use "latest", which blows up with
Gtk3.
js/ui/main.js | 6 ++++++
1 files changed, 6 insertions(+), 0 deletions(-)
---
diff --git a/js/ui/main.js b/js/ui/main.js
index 2d0746a..9454114 100644
--- a/js/ui/main.js
+++ b/js/ui/main.js
@@ -1,5 +1,11 @@
/* -*- mode: js2; js2-basic-offset: 4; indent-tabs-mode: nil -*- */
+imports.gi.versions.Clutter = '1.0';
+imports.gi.versions.Gio = '2.0';
+imports.gi.versions.Gdk = '2.0';
+imports.gi.versions.GdkPixbuf = '2.0';
+imports.gi.versions.Gtk = '2.0';
+
const Clutter = imports.gi.Clutter;
const DBus = imports.dbus;
const Gdk = imports.gi.Gdk;
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]