[gnome-devel-docs] Fix incorrect Gtk.init calls in JavaScript demos
- From: David King <davidk src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-devel-docs] Fix incorrect Gtk.init calls in JavaScript demos
- Date: Sun, 26 Jan 2014 11:57:47 +0000 (UTC)
commit 3b8820383c285e581bd7ed967089ae3e0c4b7f42
Author: David King <amigadave amigadave com>
Date: Sun Jan 26 11:57:14 2014 +0000
Fix incorrect Gtk.init calls in JavaScript demos
https://bugzilla.gnome.org/show_bug.cgi?id=722946
platform-demos/C/image-viewer.js.page | 2 +-
platform-demos/C/record-collection.js.page | 2 +-
.../C/record-collection/record-collection.js | 2 +-
3 files changed, 3 insertions(+), 3 deletions(-)
---
diff --git a/platform-demos/C/image-viewer.js.page b/platform-demos/C/image-viewer.js.page
index 22a2b68..e13c635 100644
--- a/platform-demos/C/image-viewer.js.page
+++ b/platform-demos/C/image-viewer.js.page
@@ -173,7 +173,7 @@ ImageViewer.prototype = {
}
}
-Gtk.init (0, null);
+Gtk.init (null, null);
var iv = new ImageViewer ();
Gtk.main ();]]></code>
<!-- FIXME: Throws an error, "JS ERROR: !!! Unhandled type int32 releasing GArgument" on Ubuntu 10.10 -->
diff --git a/platform-demos/C/record-collection.js.page b/platform-demos/C/record-collection.js.page
index 43cdb9b..98c48c3 100644
--- a/platform-demos/C/record-collection.js.page
+++ b/platform-demos/C/record-collection.js.page
@@ -93,7 +93,7 @@ Demo.prototype = {
}
}
-Gtk.init (0, null);
+Gtk.init (null, null);
var demo = new Demo ();
diff --git a/platform-demos/C/record-collection/record-collection.js
b/platform-demos/C/record-collection/record-collection.js
index a624786..83d7d1e 100644
--- a/platform-demos/C/record-collection/record-collection.js
+++ b/platform-demos/C/record-collection/record-collection.js
@@ -141,7 +141,7 @@ Demo.prototype = {
}
}
-Gtk.init (0, null);
+Gtk.init (null, null);
var demo = new Demo ();
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]