[gnome-devel-docs] minor markup additions.
- From: Tiffany Antopolski <antopolski src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-devel-docs] minor markup additions.
- Date: Tue, 14 Aug 2012 20:26:37 +0000 (UTC)
commit ddc5a406e4e684908de26bd66bfce7a8a18d7c7a
Author: Tiffany Antopolski <tiffany antopolski gmail com>
Date: Tue Aug 14 09:56:22 2012 -0400
minor markup additions.
platform-demos/C/helloWorld.js.page | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
---
diff --git a/platform-demos/C/helloWorld.js.page b/platform-demos/C/helloWorld.js.page
index 24db183..31be53d 100644
--- a/platform-demos/C/helloWorld.js.page
+++ b/platform-demos/C/helloWorld.js.page
@@ -77,8 +77,8 @@ const Application = new Lang.Class({
]]></code>
<p>GtkApplication initializes Gtk+. It also connects the <gui>x</gui> button that's automatically generated along with the window to the "destroy" signal.</p>
- <p>We can start building our first window. We do this by creating a variable called _window and assigning it a new Gtk.ApplicationWindow.</p>
- <p>We give the window a property called title. The title can be any string you want it to be. To be on the safe side, it's best to stick to UTF-8 encoding.</p>
+ <p>We can start building our first window. We do this by creating a variable called <var>_window</var> and assigning it a new Gtk.ApplicationWindow.</p>
+ <p>We give the window a property called <var>title</var>. The title can be any string you want it to be. To be on the safe side, it's best to stick to UTF-8 encoding.</p>
<p>Now we have a window which has a title and a working "close" button. Let's add the actual "Hello World" text.</p>
</section>
@@ -105,7 +105,7 @@ app.application.run(ARGV);]]></code>
</section>
<section id="terminal">
<title>Running the application from terminal</title>
- <p>To run this application, first save it as helloWorld.js. Then open Terminal, go to the folder where your application is stored and run</p>
+ <p>To run this application, first save it as helloWorld.js. Then open Terminal, go to the folder where your application is stored and run:</p>
<screen><output style="prompt">$ </output><input>gjs helloWorld.js</input></screen>
</section>
</page>
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]