gjs r38 - trunk/examples
- From: tko svn gnome org
- To: svn-commits-list gnome org
- Subject: gjs r38 - trunk/examples
- Date: Thu, 23 Oct 2008 10:37:40 +0000 (UTC)
Author: tko
Date: Thu Oct 23 10:37:40 2008
New Revision: 38
URL: http://svn.gnome.org/viewvc/gjs?rev=38&view=rev
Log:
fix use of Gtk.WindowType in gtk example
* examples/gtk.js: fix use of Gtk.WindowType
Modified:
trunk/examples/gtk.js
Modified: trunk/examples/gtk.js
==============================================================================
--- trunk/examples/gtk.js (original)
+++ trunk/examples/gtk.js Thu Oct 23 10:37:40 2008
@@ -27,7 +27,7 @@
Gtk.init(0, null);
// create a new window
-let win = new Gtk.Window({ type: Gtk.WindowType.toplevel });
+let win = new Gtk.Window({ type: Gtk.WindowType.TOPLEVEL });
// When the window is given the "delete_event" signal (this is given
// by the window manager, usually by the "close" option, or on the
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]