[gnome-devel-docs] [demos/C/magic-mirror.vala] Fixed validity errors
- From: Shaun McCance <shaunm src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-devel-docs] [demos/C/magic-mirror.vala] Fixed validity errors
- Date: Mon, 20 Dec 2010 16:08:16 +0000 (UTC)
commit 51742ba937956ddf0cc11435a06adc28224f1e26
Author: Shaun McCance <shaunm gnome org>
Date: Mon Dec 20 11:06:32 2010 -0500
[demos/C/magic-mirror.vala] Fixed validity errors
demos/C/magic-mirror.vala.page | 5 ++++-
1 files changed, 4 insertions(+), 1 deletions(-)
---
diff --git a/demos/C/magic-mirror.vala.page b/demos/C/magic-mirror.vala.page
index 372de66..a5f9c4e 100644
--- a/demos/C/magic-mirror.vala.page
+++ b/demos/C/magic-mirror.vala.page
@@ -84,6 +84,7 @@ public class Webcam : Gtk.Window
<item>
<p>Finally, we enter the GTK main loop by calling <code>Gtk.main</code>. The main loop displays the UI and starts listening for events (signals).</p>
</item>
+ </list>
<p>To see this code in action, compile it with the following command:</p>
@@ -147,7 +148,7 @@ public class Webcam : Gtk.Window
using Gst;</code> to also include the GStreamer libraries.</p>
</item>
<item>
- We declare a <code>Gtk.DrawingArea</code>, which will be the
+ <p>We declare a <code>Gtk.DrawingArea</code>, which will be the
element which holds our video feed afterwards. As we want to add buttons too
later, it is a good idea to add a vertical box, where we can put widgets
into. We need a box to put multiple elements into it and we want to put stuff
@@ -167,6 +168,8 @@ using Gst;</code> to also include the GStreamer libraries.</p>
Compile and run it again. You will end up with two windows. In the next step
we will integrate the video into the GTK+ window.
</p>
+ </item>
+ </list>
</section>
<section>
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]