[gnome-games] lightsoff, swell-foop: Fix segfault in gtkclutter init
- From: Tim Horton <hortont src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-games] lightsoff, swell-foop: Fix segfault in gtkclutter init
- Date: Sat, 6 Nov 2010 04:37:44 +0000 (UTC)
commit f355bdcf67defbc7ffa998578241f02b247ee63e
Author: Edward Sheldrake <ejsheldrake gmail com>
Date: Wed Oct 13 20:01:57 2010 +0100
lightsoff, swell-foop: Fix segfault in gtkclutter init
Work around segfault https://bugzilla.gnome.org/show_bug.cgi?id=630990
The programs don't have any of their own command line arguments anyway.
lightsoff/src/main.js | 2 +-
swell-foop/src/main.js | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/lightsoff/src/main.js b/lightsoff/src/main.js
index 71fc986..c02167c 100755
--- a/lightsoff/src/main.js
+++ b/lightsoff/src/main.js
@@ -10,7 +10,7 @@ Gtk.init(Seed.argv);
try
{
- GtkClutter.init_with_args(Seed.argv.length, Seed.argv);
+ GtkClutter.init(Seed.argv.length, Seed.argv);
}
catch(e)
{
diff --git a/swell-foop/src/main.js b/swell-foop/src/main.js
index 2d23dce..40cda69 100755
--- a/swell-foop/src/main.js
+++ b/swell-foop/src/main.js
@@ -14,7 +14,7 @@ _ = imports.gettext.gettext;
try
{
- GtkClutter.init_with_args(Seed.argv.length, Seed.argv);
+ GtkClutter.init(Seed.argv.length, Seed.argv);
}
catch(e)
{
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]