[gnome-devel-docs] platform-demos: fix incomplete sentence
- From: Tiffany Antopolski <antopolski src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-devel-docs] platform-demos: fix incomplete sentence
- Date: Tue, 21 Feb 2012 17:18:03 +0000 (UTC)
commit 1ddee04b8488e432958a6cf65b08dffd99277115
Author: Tiffany Antopolski <tiffany antopolski gmail com>
Date: Tue Feb 21 14:44:56 2012 +0100
platform-demos: fix incomplete sentence
This fixes bug # 670135
platform-demos/C/guitar-tuner.vala.page | 2 +-
platform-demos/C/part-1.vala.page | 16 ++++++++--------
2 files changed, 9 insertions(+), 9 deletions(-)
---
diff --git a/platform-demos/C/guitar-tuner.vala.page b/platform-demos/C/guitar-tuner.vala.page
index 303f81e..f229f6b 100644
--- a/platform-demos/C/guitar-tuner.vala.page
+++ b/platform-demos/C/guitar-tuner.vala.page
@@ -82,7 +82,7 @@ using Gtk;]]></code>
</item>
</list>
- <p>This code is ready to be used, so you can compile it by clicking <guiseq><gui>Build</gui><gui>Build Project</gui></guiseq> (or press <keyseq><key>Shift</key><key>F7</key></keyseq>). When you do this, a dialog. Change the <gui>Configuration</gui> to <gui>Default</gui> and then click <gui>Execute</gui> to configure the build directory. You only need to do this once, for the first build.</p>
+ <p>This code is ready to be used, so you can compile it by clicking <guiseq><gui>Build</gui><gui>Build Project</gui></guiseq> (or press <keyseq><key>Shift</key><key>F7</key></keyseq>). When you do this, a dialog will appear. Change the <gui>Configuration</gui> to <gui>Default</gui> and then click <gui>Execute</gui> to configure the build directory. You only need to do this once, for the first build.</p>
</section>
<section id="ui">
diff --git a/platform-demos/C/part-1.vala.page b/platform-demos/C/part-1.vala.page
index b057514..12fb7ba 100644
--- a/platform-demos/C/part-1.vala.page
+++ b/platform-demos/C/part-1.vala.page
@@ -51,13 +51,13 @@
using GLib;
using Gtk;
-public class Main : Object
+public class Main : Object
{
const string UI_FILE = "src/hello_world.ui";
public Main ()
{
- try
+ try
{
var builder = new Builder ();
builder.add_from_file (UI_FILE);
@@ -65,24 +65,24 @@ public class Main : Object
var window = builder.get_object ("window") as Window;
window.show_all ();
- }
+ }
catch (Error e) {
stderr.printf ("Could not load UI: %s\n", e.message);
- }
+ }
}
- public void on_destroy (Widget window)
+ public void on_destroy (Widget window)
{
Gtk.main_quit();
}
- static int main (string[] args)
+ static int main (string[] args)
{
Gtk.init (ref args);
var app = new Main ();
Gtk.main ();
-
+
return 0;
}
}]]></code>
@@ -108,7 +108,7 @@ public class Main : Object
</item>
</list>
- <p>This code is ready to be used, so you can compile it by clicking <guiseq><gui>Build</gui><gui>Build Project</gui></guiseq> (or press <keyseq><key>Shift</key><key>F7</key></keyseq>). When you do this, a dialog. Change the <gui>Configuration</gui> to <gui>Default</gui> and then click <gui>Execute</gui> to configure the build directory. You only need to do this once, for the first build.</p>
+ <p>This code is ready to be used, so you can compile it by clicking <guiseq><gui>Build</gui><gui>Build Project</gui></guiseq> (or press <keyseq><key>Shift</key><key>F7</key></keyseq>). When you do this, a dialog will appear. Change the <gui>Configuration</gui> to <gui>Default</gui> and then click <gui>Execute</gui> to configure the build directory. You only need to do this once, for the first build.</p>
</section>
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]