From 11cde5310887a47e2f1e176d9a37c1787a16a72d Mon Sep 17 00:00:00 2001 From: Colin Walters Date: Thu, 20 May 2010 16:42:40 -0400 Subject: [PATCH] [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 file changed, 6 insertions(+) diff --git a/js/ui/main.js b/js/ui/main.js index 2d0746a09..945411498 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;