[gnome-devel-docs] tutorials <javascript>: Removed extraneous comma in Hello, GNOME tutorial



commit 65cd177393e526dfd1a766ac3ecd52186252b322
Author: Taryn Fox <jewelfox fursona net>
Date:   Wed Jul 25 06:16:12 2012 -0400

    tutorials <javascript>: Removed extraneous comma in Hello, GNOME tutorial

 platform-demos/C/hellognome.js.page    |    2 +-
 platform-demos/C/samples/hellognome.js |    2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/platform-demos/C/hellognome.js.page b/platform-demos/C/hellognome.js.page
index 081ff7a..2cd24f1 100644
--- a/platform-demos/C/hellognome.js.page
+++ b/platform-demos/C/hellognome.js.page
@@ -136,7 +136,7 @@ const HelloGNOME = new Lang.Class ({
             title: "Welcome to GNOME",
             default_height: 200,
             default_width: 400,
-            window_position: Gtk.WindowPosition.CENTER, });
+            window_position: Gtk.WindowPosition.CENTER });
 ]]></code>
 
     <p>The first object we create is an <input>ApplicationWindow</input>. It needs a title to go in the title bar, and its <input>application</input> property needs to be the application that we created, above. Beyond that, there are various ways of customizing how it looks, which the <link xref="GtkApplicationWindow.js">ApplicationWindow</link> reference page will go into more detail about. As you can see here, we gave it a default height and width (measured in pixels), and told GNOME we want our window to appear in the center of the screen.</p>
diff --git a/platform-demos/C/samples/hellognome.js b/platform-demos/C/samples/hellognome.js
index e453618..5b454e3 100644
--- a/platform-demos/C/samples/hellognome.js
+++ b/platform-demos/C/samples/hellognome.js
@@ -37,7 +37,7 @@ const HelloGNOME = new Lang.Class ({
             title: "Welcome to GNOME",
             default_height: 200,
             default_width: 400,
-            window_position: Gtk.WindowPosition.CENTER, });
+            window_position: Gtk.WindowPosition.CENTER });
 
         // Create a webview to show the web app
         this._webView = new Webkit.WebView ();



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]