[gnome-devel-docs] js tutorial: Gtk.init (0, null) raises exception --> Gtk.init (null, null);
- From: Tiffany Antopolski <antopolski src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-devel-docs] js tutorial: Gtk.init (0, null) raises exception --> Gtk.init (null, null);
- Date: Wed, 29 Feb 2012 23:37:24 +0000 (UTC)
commit a8b40bea8208db86907c088b0f5fee20df0e3a08
Author: Tiffany Antopolski <tiffany antopolski com>
Date: Wed Feb 29 18:36:14 2012 -0500
js tutorial: Gtk.init (0,null) raises exception --> Gtk.init (null, null);
https://bugzilla.gnome.org/show_bug.cgi?id=671091
platform-demos/C/image-viewer.js.page | 2 +-
platform-demos/C/image-viewer/image-viewer.js | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/platform-demos/C/image-viewer.js.page b/platform-demos/C/image-viewer.js.page
index 399c771..b02c741 100644
--- a/platform-demos/C/image-viewer.js.page
+++ b/platform-demos/C/image-viewer.js.page
@@ -127,7 +127,7 @@ o.dumpProperties ();]]></code>
<code mime="text/javascript" style="numbered"><![CDATA[
const Gtk = imports.gi.Gtk;
-Gtk.init (0, null);
+Gtk.init (null, null);
var w = new Gtk.Window ({title: "Image Viewer Demo"});
w.show ();
diff --git a/platform-demos/C/image-viewer/image-viewer.js b/platform-demos/C/image-viewer/image-viewer.js
index 9a9484b..aa3ee09 100644
--- a/platform-demos/C/image-viewer/image-viewer.js
+++ b/platform-demos/C/image-viewer/image-viewer.js
@@ -43,7 +43,7 @@ ImageViewer.prototype = {
}
}
-Gtk.init (0, null);
+Gtk.init (null, null);
var iv = new ImageViewer ();
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]