From 2cff900e2415e438770d4b347dea78e2a7060c81 Mon Sep 17 00:00:00 2001 From: Alan Knowles Date: Tue, 22 Jun 2010 19:03:27 +0800 Subject: [PATCH] Sample/Window.js --- Sample/Window.js | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/Sample/Window.js b/Sample/Window.js index 5d3ccbe97..28be36e77 100644 --- a/Sample/Window.js +++ b/Sample/Window.js @@ -7,6 +7,7 @@ GObject = imports.gi.GObject; GtkSource = imports.gi.GtkSource; WebKit = imports.gi.WebKit; Vte = imports.gi.Vte; +GtkClutter = imports.gi.GtkClutter; console = imports.console; XObject = imports.XObject.XObject; Window=new XObject({ @@ -3114,6 +3115,10 @@ Window=new XObject({ } print("CREATE: " + item['|xns'] + '.' + item['xtype']); var type = item['|xns'] + '.' + item['xtype']; + + if (item['|xns'] == 'GtkClutter') { // we can not add this yet! + return; + } var ns = imports.gi[item['|xns']]; var ctr = ns[item['xtype']]; var ctr_args = { }; -- 2.39.2