[gnome-devel-docs/wip/for-kat: 4/6] Headline names changes, id changes



commit c063aa2151f0134dc6e03c69e1eff6c7024c7c16
Author: Bastian Ilsø <bastianilso src gnome org>
Date:   Mon Jan 26 18:39:50 2015 +0000

    Headline names changes, id changes
    
    https://bugzilla.gnome.org/show_bug.cgi?id=743552

 platform-demos/C/c.page               |   40 ++++++++++++++++++++++++--------
 platform-demos/C/guitar-tuner.c.page  |    2 +-
 platform-demos/C/hello-world.c.page   |    2 +-
 platform-demos/C/image-viewer.c.page  |    2 +-
 platform-demos/C/message-board.c.page |    2 +-
 platform-demos/C/photo-wall.c.page    |    2 +-
 6 files changed, 35 insertions(+), 15 deletions(-)
---
diff --git a/platform-demos/C/c.page b/platform-demos/C/c.page
index 886f817..46263ac 100644
--- a/platform-demos/C/c.page
+++ b/platform-demos/C/c.page
@@ -1,6 +1,6 @@
 <page xmlns="http://projectmallard.org/1.0/";
       xmlns:its="http://www.w3.org/2005/11/its";
-      xmlns:ui="http://projectmallard.org/experimental/ui/";
+      xmlns:ui="http://projectmallard.org/ui/1.0/";
       type="guide"
       id="c">
 <info>
@@ -13,7 +13,7 @@
   </credit>
 </info>
 
-<title>Platform Demos in C</title>
+<title>Tutorials and code examples in C</title>
 
 <section id="prerequisites" >
   <title>Prerequisites</title>
@@ -26,17 +26,19 @@
 
 </section>
 
-<section id="For beginners" ui:expanded="false">
+<section id="for-beginners" ui:expanded="false">
   <title>Guidelines for new developers</title>
 
-  <p>Several tools has been developed to assist you in developing your GNOME
-  application. GNOME also recommends a specific coding style and conventions
-  which this section will elaborate further upon.</p>
+  <p>Beyond the prerequisites mentioned above, several tools has been developed
+  to assist you further in developing your GNOME application. GNOME also
+  recommends a specific coding style and conventions which this section will
+  elaborate further upon.</p>
 
   <section id="recommended-tools">
     <title>Recommended tools</title>
 
     <list>
+<<<<<<< HEAD
       <item>
         <p><link href="https://wiki.gnome.org/Apps/Devhelp";>DevHelp</link>: an
         API documentation browser for GNOME.</p>
@@ -56,10 +58,10 @@
         <link href="https://wiki.gnome.org/Apps/Polari";>Polari</link> or
         <link href="https://wiki.gnome.org/Apps/Empathy";>Empathy</link>. If you
         run into problems while following the beginner tutorials, join #gnome
-        on GimpNet.</p>
+        on <em>irc.gnome.org</em>.</p>
       </item>
-      </list>
-    </section>
+    </list>
+  </section>
 
   <section id="coding-style">
     <title>Coding Style</title>
@@ -70,11 +72,29 @@
     following this convention and you are recommended to do so too.</p>
 
   </section>
+
+  <section id="executing-code">
+    <title>Executing Code</title>
+    <p>
+    To run the code samples:
+    </p>
+    <steps>
+      <item><p>Copy and paste the code into <var>filename</var>.c</p></item>
+      <item><p>In the terminal type:</p>
+        <screen>gcc <var>filename</var>.c `pkg-config --cflags --libs gtk+-3.0` -o <var>filename</var>
+        </screen>
+        <screen>./<var>filename</var></screen>
+      </item>
+    </steps>
+    <note>
+      <p>For more information about compiling GTK+ programs see <link 
href="http://developer.gnome.org/gtk3/3.4/gtk-compiling.html";>Compiling GTK+ Applications on UNIX</link>.</p>
+    </note>
+  </section>
 </section>
 
 <links type="section" />
 
-<section id="examples">
+<section id="tutorials">
   <title>Tutorials</title>
 </section>
 
diff --git a/platform-demos/C/guitar-tuner.c.page b/platform-demos/C/guitar-tuner.c.page
index 70b9712..e2e4597 100644
--- a/platform-demos/C/guitar-tuner.c.page
+++ b/platform-demos/C/guitar-tuner.c.page
@@ -6,7 +6,7 @@
 
   <info>
     <title type="text">Guitar tuner (C)</title>
-    <link type="guide" xref="c#examples"/>
+    <link type="guide" xref="c#tutorials"/>
 
     <desc>Use GTK+ and GStreamer to build a simple guitar tuner application for GNOME. Shows off how to use 
the interface designer.</desc>
 
diff --git a/platform-demos/C/hello-world.c.page b/platform-demos/C/hello-world.c.page
index 06b58d5..6e68fd4 100644
--- a/platform-demos/C/hello-world.c.page
+++ b/platform-demos/C/hello-world.c.page
@@ -8,7 +8,7 @@
   <info>
   <title type="text">Hello World (C)</title>
     <desc>How to create GTK+ 3 Hello World dialog in C.</desc>
-    <link type="guide" xref="c#examples"/>
+    <link type="guide" xref="c#tutorials"/>
 
     <revision version="0.1" date="2013-06-17" status="review"/>
 
diff --git a/platform-demos/C/image-viewer.c.page b/platform-demos/C/image-viewer.c.page
index ad3ce49..94a9035 100644
--- a/platform-demos/C/image-viewer.c.page
+++ b/platform-demos/C/image-viewer.c.page
@@ -6,7 +6,7 @@
 
   <info>
     <title type="text">Image viewer (C)</title>
-    <link type="guide" xref="c#examples"/>
+    <link type="guide" xref="c#tutorials"/>
 
     <desc>A little bit more than a simple "Hello world" Gtk application.</desc>
 
diff --git a/platform-demos/C/message-board.c.page b/platform-demos/C/message-board.c.page
index 85825c5..21abd66 100644
--- a/platform-demos/C/message-board.c.page
+++ b/platform-demos/C/message-board.c.page
@@ -6,7 +6,7 @@
 
   <info>
     <title type="text">Message board (C)</title>
-    <link type="guide" xref="c#examples"/>
+    <link type="guide" xref="c#tutorials"/>
 
     <desc>A simple program using WebKitGTK+ and the DOM.</desc>
 
diff --git a/platform-demos/C/photo-wall.c.page b/platform-demos/C/photo-wall.c.page
index 7019725..2f36e03 100644
--- a/platform-demos/C/photo-wall.c.page
+++ b/platform-demos/C/photo-wall.c.page
@@ -5,7 +5,7 @@
       id="photo-wall.c">
   <info>
     <title type="text">Photo wall (C)</title>
-    <link type="guide" xref="c#examples"/>
+    <link type="guide" xref="c#tutorials"/>
 
     <desc>A Clutter image viewer</desc>
 


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