[gnome-devel-docs] Added <?xml version='1.0' encoding='UTF-8'?> to all .page files.
- From: Tiffany Antopolski <antopolski src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-devel-docs] Added <?xml version='1.0' encoding='UTF-8'?> to all .page files.
- Date: Tue, 29 May 2012 14:32:45 +0000 (UTC)
commit 1732a4ad0ff7609eae2a6e5dbaf3f0da5deaa3c0
Author: Tiffany Antopolski <tiffany antopolski gmail com>
Date: Tue May 29 10:05:21 2012 -0400
Added <?xml version='1.0' encoding='UTF-8'?> to all .page files.
platform-demos/C/GtkApplicationWindow.c.page | 1 +
platform-demos/C/GtkApplicationWindow.js.page | 1 +
platform-demos/C/GtkApplicationWindow.py.page | 1 +
platform-demos/C/GtkApplicationWindow.vala.page | 1 +
platform-demos/C/about-dialog.vala.page | 1 +
platform-demos/C/aboutdialog.py.page | 1 +
platform-demos/C/aboutdialog.vala.page | 1 +
platform-demos/C/audio-player.vala.page | 1 +
platform-demos/C/beginner.c.page | 1 +
platform-demos/C/beginner.js.page | 1 +
platform-demos/C/beginner.py.page | 1 +
platform-demos/C/beginner.vala.page | 1 +
platform-demos/C/button.js.page | 1 +
platform-demos/C/button.py.page | 1 +
platform-demos/C/button.vala.page | 1 +
platform-demos/C/checkbutton.py.page | 1 +
platform-demos/C/checkbutton.vala.page | 1 +
platform-demos/C/combobox.vala.page | 1 +
platform-demos/C/desktop.js.page | 1 +
platform-demos/C/dialog.js.page | 1 +
platform-demos/C/dialog.py.page | 1 +
platform-demos/C/dialog.vala.page | 1 +
platform-demos/C/entry.py.page | 1 +
platform-demos/C/entry.vala.page | 1 +
platform-demos/C/error-handling.vala.page | 1 +
platform-demos/C/gmenu.c.page | 3 ++-
platform-demos/C/gmenu.js.page | 1 +
platform-demos/C/gmenu.py.page | 3 ++-
platform-demos/C/gmenu.vala.page | 1 +
platform-demos/C/grid.js.page | 1 +
platform-demos/C/grid.py.page | 1 +
platform-demos/C/grid.vala.page | 1 +
platform-demos/C/grid_with_entry.js.page | 1 +
platform-demos/C/guitar-tuner.c.page | 1 +
platform-demos/C/guitar-tuner.js.page | 5 +++--
platform-demos/C/guitar-tuner.py.page | 1 +
platform-demos/C/guitar-tuner.vala.page | 1 +
platform-demos/C/hello-world.vala.page | 1 +
platform-demos/C/helloWorld.js.page | 1 +
platform-demos/C/helloworldautotools.js.page | 1 +
platform-demos/C/help.vala.page | 1 +
platform-demos/C/image-viewer.c.page | 1 +
platform-demos/C/image-viewer.js.page | 1 +
platform-demos/C/image-viewer.py.page | 1 +
platform-demos/C/image-viewer.vala.page | 1 +
platform-demos/C/image.c.page | 4 ++--
platform-demos/C/image.py.page | 1 +
platform-demos/C/image.vala.page | 1 +
platform-demos/C/label.c.page | 4 ++--
platform-demos/C/label.js.page | 1 +
platform-demos/C/label.py.page | 1 +
platform-demos/C/label.vala.page | 1 +
platform-demos/C/linkbutton.js.page | 1 +
platform-demos/C/linkbutton.py.page | 1 +
platform-demos/C/magic-mirror.vala.page | 3 +--
platform-demos/C/menus.vala.page | 1 +
platform-demos/C/message-board.c.page | 1 +
platform-demos/C/messagedialog.js.page | 1 +
platform-demos/C/messagedialog.py.page | 1 +
platform-demos/C/messagedialog.vala.page | 1 +
platform-demos/C/part-1.vala.page | 1 +
platform-demos/C/part-2.vala.page | 1 +
platform-demos/C/part-3.vala.page | 1 +
platform-demos/C/part-4.vala.page | 1 +
platform-demos/C/part-5.vala.page | 1 +
platform-demos/C/part-6.vala.page | 1 +
platform-demos/C/photo-wall.c.page | 1 +
platform-demos/C/progressbar.py.page | 1 +
platform-demos/C/progressbar.vala.page | 1 +
platform-demos/C/radiobutton.py.page | 1 +
platform-demos/C/radiobutton.vala.page | 1 +
platform-demos/C/record-collection.js.page | 1 +
platform-demos/C/scale.py.page | 1 +
platform-demos/C/scrolledwindow.py.page | 1 +
platform-demos/C/signals-callbacks.vala.page | 1 +
platform-demos/C/spinbutton.py.page | 1 +
platform-demos/C/spinner.py.page | 1 +
platform-demos/C/spinner.vala.page | 1 +
platform-demos/C/statusbar.py.page | 1 +
platform-demos/C/statusbar.vala.page | 1 +
platform-demos/C/switch.py.page | 1 +
platform-demos/C/switch.vala.page | 3 ++-
platform-demos/C/textview.py.page | 1 +
platform-demos/C/togglebutton.py.page | 1 +
platform-demos/C/togglebutton.vala.page | 1 +
platform-demos/C/toolbar.js.page | 1 +
platform-demos/C/toolbar.vala.page | 1 +
platform-demos/C/toolbars.vala.page | 1 +
platform-demos/C/treeview.c.page | 1 +
platform-demos/C/treeview.js.page | 1 +
platform-demos/C/treeview.py.page | 1 +
platform-demos/C/treeview.vala.page | 1 +
.../C/treeview_simple_liststore.vala.page | 1 +
platform-demos/C/weatherApp.js.page | 1 +
platform-demos/C/weatherAppMain.js.page | 1 +
platform-demos/C/weatherAutotools.js.page | 5 +++--
platform-demos/C/weatherGeonames.js.page | 1 +
platform-demos/C/widget.c.page | 1 +
platform-demos/C/widget.js.page | 1 +
platform-demos/C/widget.py.page | 1 +
platform-demos/C/widget.vala.page | 1 +
platform-demos/C/window.c.page | 1 +
platform-demos/C/window.js.page | 1 +
platform-demos/C/window.py.page | 1 +
platform-demos/C/window.vala.page | 1 +
105 files changed, 114 insertions(+), 13 deletions(-)
---
diff --git a/platform-demos/C/GtkApplicationWindow.c.page b/platform-demos/C/GtkApplicationWindow.c.page
index 639006e..b3a3f6d 100644
--- a/platform-demos/C/GtkApplicationWindow.c.page
+++ b/platform-demos/C/GtkApplicationWindow.c.page
@@ -1,3 +1,4 @@
+<?xml version='1.0' encoding='UTF-8'?>
<page xmlns="http://projectmallard.org/1.0/"
xmlns:xi="http://www.w3.org/2001/XInclude"
type="guide" style="task"
diff --git a/platform-demos/C/GtkApplicationWindow.js.page b/platform-demos/C/GtkApplicationWindow.js.page
index c71a5aa..f6e2b49 100644
--- a/platform-demos/C/GtkApplicationWindow.js.page
+++ b/platform-demos/C/GtkApplicationWindow.js.page
@@ -1,3 +1,4 @@
+<?xml version='1.0' encoding='UTF-8'?>
<page xmlns="http://projectmallard.org/1.0/"
xmlns:xi="http://www.w3.org/2001/XInclude"
type="guide" style="task"
diff --git a/platform-demos/C/GtkApplicationWindow.py.page b/platform-demos/C/GtkApplicationWindow.py.page
index 30fc863..b68f599 100644
--- a/platform-demos/C/GtkApplicationWindow.py.page
+++ b/platform-demos/C/GtkApplicationWindow.py.page
@@ -1,3 +1,4 @@
+<?xml version='1.0' encoding='UTF-8'?>
<page xmlns="http://projectmallard.org/1.0/"
xmlns:xi="http://www.w3.org/2001/XInclude"
type="guide" style="task"
diff --git a/platform-demos/C/GtkApplicationWindow.vala.page b/platform-demos/C/GtkApplicationWindow.vala.page
index 8c1961c..907619e 100644
--- a/platform-demos/C/GtkApplicationWindow.vala.page
+++ b/platform-demos/C/GtkApplicationWindow.vala.page
@@ -1,3 +1,4 @@
+<?xml version='1.0' encoding='UTF-8'?>
<page xmlns="http://projectmallard.org/1.0/"
xmlns:xi="http://www.w3.org/2001/XInclude"
type="guide" style="task"
diff --git a/platform-demos/C/about-dialog.vala.page b/platform-demos/C/about-dialog.vala.page
index b6ecaaf..3a9b1b4 100644
--- a/platform-demos/C/about-dialog.vala.page
+++ b/platform-demos/C/about-dialog.vala.page
@@ -1,3 +1,4 @@
+<?xml version='1.0' encoding='UTF-8'?>
<page xmlns="http://projectmallard.org/1.0/"
type="topic" style="task"
id="about-dialog.vala">
diff --git a/platform-demos/C/aboutdialog.py.page b/platform-demos/C/aboutdialog.py.page
index c1e0272..baae0cb 100644
--- a/platform-demos/C/aboutdialog.py.page
+++ b/platform-demos/C/aboutdialog.py.page
@@ -1,3 +1,4 @@
+<?xml version='1.0' encoding='UTF-8'?>
<page xmlns="http://projectmallard.org/1.0/"
xmlns:xi="http://www.w3.org/2001/XInclude"
type="guide" style="task"
diff --git a/platform-demos/C/aboutdialog.vala.page b/platform-demos/C/aboutdialog.vala.page
index 10ca002..9c71d1c 100644
--- a/platform-demos/C/aboutdialog.vala.page
+++ b/platform-demos/C/aboutdialog.vala.page
@@ -1,3 +1,4 @@
+<?xml version='1.0' encoding='UTF-8'?>
<page xmlns="http://projectmallard.org/1.0/"
xmlns:xi="http://www.w3.org/2001/XInclude"
type="guide" style="task"
diff --git a/platform-demos/C/audio-player.vala.page b/platform-demos/C/audio-player.vala.page
index 643b8da..d51787c 100644
--- a/platform-demos/C/audio-player.vala.page
+++ b/platform-demos/C/audio-player.vala.page
@@ -1,3 +1,4 @@
+<?xml version='1.0' encoding='UTF-8'?>
<page xmlns="http://projectmallard.org/1.0/"
type="topic"
id="audio-player.vala">
diff --git a/platform-demos/C/beginner.c.page b/platform-demos/C/beginner.c.page
index a0a70c8..27636f2 100644
--- a/platform-demos/C/beginner.c.page
+++ b/platform-demos/C/beginner.c.page
@@ -1,3 +1,4 @@
+<?xml version='1.0' encoding='UTF-8'?>
<page xmlns="http://projectmallard.org/1.0/"
xmlns:e="http://projectmallard.org/experimental/"
type="guide" style="task"
diff --git a/platform-demos/C/beginner.js.page b/platform-demos/C/beginner.js.page
index 795d283..bda0bab 100644
--- a/platform-demos/C/beginner.js.page
+++ b/platform-demos/C/beginner.js.page
@@ -1,3 +1,4 @@
+<?xml version='1.0' encoding='UTF-8'?>
<page xmlns="http://projectmallard.org/1.0/"
type="guide" style="task"
id="beginner.js">
diff --git a/platform-demos/C/beginner.py.page b/platform-demos/C/beginner.py.page
index 916dec4..296cc77 100644
--- a/platform-demos/C/beginner.py.page
+++ b/platform-demos/C/beginner.py.page
@@ -1,3 +1,4 @@
+<?xml version='1.0' encoding='UTF-8'?>
<page xmlns="http://projectmallard.org/1.0/"
xmlns:e="http://projectmallard.org/experimental/"
type="guide" style="task"
diff --git a/platform-demos/C/beginner.vala.page b/platform-demos/C/beginner.vala.page
index 64e3871..4f97d80 100644
--- a/platform-demos/C/beginner.vala.page
+++ b/platform-demos/C/beginner.vala.page
@@ -1,3 +1,4 @@
+<?xml version='1.0' encoding='UTF-8'?>
<page xmlns="http://projectmallard.org/1.0/"
xmlns:e="http://projectmallard.org/experimental/"
type="guide" style="task"
diff --git a/platform-demos/C/button.js.page b/platform-demos/C/button.js.page
index f9c054f..d7ee71d 100644
--- a/platform-demos/C/button.js.page
+++ b/platform-demos/C/button.js.page
@@ -1,3 +1,4 @@
+<?xml version='1.0' encoding='UTF-8'?>
<page xmlns="http://projectmallard.org/1.0/"
xmlns:xi="http://www.w3.org/2001/XInclude"
type="guide" style="task"
diff --git a/platform-demos/C/button.py.page b/platform-demos/C/button.py.page
index baf7841..dd76ea4 100644
--- a/platform-demos/C/button.py.page
+++ b/platform-demos/C/button.py.page
@@ -1,3 +1,4 @@
+<?xml version='1.0' encoding='UTF-8'?>
<page xmlns="http://projectmallard.org/1.0/"
xmlns:xi="http://www.w3.org/2001/XInclude"
type="guide" style="task"
diff --git a/platform-demos/C/button.vala.page b/platform-demos/C/button.vala.page
index b95786e..f629993 100644
--- a/platform-demos/C/button.vala.page
+++ b/platform-demos/C/button.vala.page
@@ -1,3 +1,4 @@
+<?xml version='1.0' encoding='UTF-8'?>
<page xmlns="http://projectmallard.org/1.0/"
xmlns:xi="http://www.w3.org/2001/XInclude"
type="guide" style="task"
diff --git a/platform-demos/C/checkbutton.py.page b/platform-demos/C/checkbutton.py.page
index d2eed61..687b7df 100644
--- a/platform-demos/C/checkbutton.py.page
+++ b/platform-demos/C/checkbutton.py.page
@@ -1,3 +1,4 @@
+<?xml version='1.0' encoding='UTF-8'?>
<page xmlns="http://projectmallard.org/1.0/"
xmlns:xi="http://www.w3.org/2001/XInclude"
type="guide" style="task"
diff --git a/platform-demos/C/checkbutton.vala.page b/platform-demos/C/checkbutton.vala.page
index 1aaade8..38c1ac6 100644
--- a/platform-demos/C/checkbutton.vala.page
+++ b/platform-demos/C/checkbutton.vala.page
@@ -1,3 +1,4 @@
+<?xml version='1.0' encoding='UTF-8'?>
<page xmlns="http://projectmallard.org/1.0/"
xmlns:xi="http://www.w3.org/2001/XInclude"
type="guide" style="task"
diff --git a/platform-demos/C/combobox.vala.page b/platform-demos/C/combobox.vala.page
index e871f5d..6fad47c 100644
--- a/platform-demos/C/combobox.vala.page
+++ b/platform-demos/C/combobox.vala.page
@@ -1,3 +1,4 @@
+<?xml version='1.0' encoding='UTF-8'?>
<page xmlns="http://projectmallard.org/1.0/"
xmlns:xi="http://www.w3.org/2001/XInclude"
type="guide" style="task"
diff --git a/platform-demos/C/desktop.js.page b/platform-demos/C/desktop.js.page
index 309a3fe..add5137 100644
--- a/platform-demos/C/desktop.js.page
+++ b/platform-demos/C/desktop.js.page
@@ -1,3 +1,4 @@
+<?xml version='1.0' encoding='UTF-8'?>
<page xmlns="http://projectmallard.org/1.0/"
type="guide" style="task"
id="desktop.js">
diff --git a/platform-demos/C/dialog.js.page b/platform-demos/C/dialog.js.page
index 0b9d3f0..b54a0e3 100644
--- a/platform-demos/C/dialog.js.page
+++ b/platform-demos/C/dialog.js.page
@@ -1,3 +1,4 @@
+<?xml version='1.0' encoding='UTF-8'?>
<page xmlns="http://projectmallard.org/1.0/"
xmlns:xi="http://www.w3.org/2001/XInclude"
type="guide" style="task"
diff --git a/platform-demos/C/dialog.py.page b/platform-demos/C/dialog.py.page
index a86d5de..579b389 100644
--- a/platform-demos/C/dialog.py.page
+++ b/platform-demos/C/dialog.py.page
@@ -1,3 +1,4 @@
+<?xml version='1.0' encoding='UTF-8'?>
<page xmlns="http://projectmallard.org/1.0/"
xmlns:xi="http://www.w3.org/2001/XInclude"
type="guide" style="task"
diff --git a/platform-demos/C/dialog.vala.page b/platform-demos/C/dialog.vala.page
index c3e2ba3..ce89554 100644
--- a/platform-demos/C/dialog.vala.page
+++ b/platform-demos/C/dialog.vala.page
@@ -1,3 +1,4 @@
+<?xml version='1.0' encoding='UTF-8'?>
<page xmlns="http://projectmallard.org/1.0/"
xmlns:xi="http://www.w3.org/2001/XInclude"
type="guide" style="task"
diff --git a/platform-demos/C/entry.py.page b/platform-demos/C/entry.py.page
index 637bb20..8330f6b 100644
--- a/platform-demos/C/entry.py.page
+++ b/platform-demos/C/entry.py.page
@@ -1,3 +1,4 @@
+<?xml version='1.0' encoding='UTF-8'?>
<page xmlns="http://projectmallard.org/1.0/"
xmlns:xi="http://www.w3.org/2001/XInclude"
type="guide" style="task"
diff --git a/platform-demos/C/entry.vala.page b/platform-demos/C/entry.vala.page
index 5dfc49f..5de14cb 100644
--- a/platform-demos/C/entry.vala.page
+++ b/platform-demos/C/entry.vala.page
@@ -1,3 +1,4 @@
+<?xml version='1.0' encoding='UTF-8'?>
<page xmlns="http://projectmallard.org/1.0/"
xmlns:xi="http://www.w3.org/2001/XInclude"
type="guide" style="task"
diff --git a/platform-demos/C/error-handling.vala.page b/platform-demos/C/error-handling.vala.page
index a020393..89098c8 100644
--- a/platform-demos/C/error-handling.vala.page
+++ b/platform-demos/C/error-handling.vala.page
@@ -1,3 +1,4 @@
+<?xml version='1.0' encoding='UTF-8'?>
<page xmlns="http://projectmallard.org/1.0/"
type="topic" style="task"
id="error-handling.vala.page">
diff --git a/platform-demos/C/gmenu.c.page b/platform-demos/C/gmenu.c.page
index 47eefaf..8d35de8 100644
--- a/platform-demos/C/gmenu.c.page
+++ b/platform-demos/C/gmenu.c.page
@@ -1,3 +1,4 @@
+<?xml version='1.0' encoding='UTF-8'?>
<page xmlns="http://projectmallard.org/1.0/"
xmlns:xi="http://www.w3.org/2001/XInclude"
type="guide" style="task"
@@ -21,7 +22,7 @@
<note><p><em style="bold">You need to be running Gtk3.4 or later for this to work</em></p></note>
<code mime="text/x-vala" style="numbered">
-<xi:include href="samples/gmenu.c" parse="text"><xi:fallback/></xi:include>
+<xi:include href="samples/gmenu.c" parse="text"><xi:fallback/></xi:include>
</code>
<p>
In this sample we used the following:
diff --git a/platform-demos/C/gmenu.js.page b/platform-demos/C/gmenu.js.page
index 47fa14c..3e9586d 100644
--- a/platform-demos/C/gmenu.js.page
+++ b/platform-demos/C/gmenu.js.page
@@ -1,3 +1,4 @@
+<?xml version='1.0' encoding='UTF-8'?>
<page xmlns="http://projectmallard.org/1.0/"
xmlns:xi="http://www.w3.org/2001/XInclude"
type="guide" style="task"
diff --git a/platform-demos/C/gmenu.py.page b/platform-demos/C/gmenu.py.page
index 2c3cbcf..fda2e62 100644
--- a/platform-demos/C/gmenu.py.page
+++ b/platform-demos/C/gmenu.py.page
@@ -1,3 +1,4 @@
+<?xml version='1.0' encoding='UTF-8'?>
<page xmlns="http://projectmallard.org/1.0/"
xmlns:xi="http://www.w3.org/2001/XInclude"
type="guide" style="task"
@@ -21,7 +22,7 @@
<note><p><em style="bold">You need to be running Gtk3.4 or later for this to work</em></p></note>
<code mime="text/x-python" style="numbered">
-<xi:include href="samples/gmenu.py" parse="text"><xi:fallback/></xi:include>
+<xi:include href="samples/gmenu.py" parse="text"><xi:fallback/></xi:include>
</code>
<p>
In this sample we used the following:
diff --git a/platform-demos/C/gmenu.vala.page b/platform-demos/C/gmenu.vala.page
index b4e5077..befd36d 100644
--- a/platform-demos/C/gmenu.vala.page
+++ b/platform-demos/C/gmenu.vala.page
@@ -1,3 +1,4 @@
+<?xml version='1.0' encoding='UTF-8'?>
<page xmlns="http://projectmallard.org/1.0/"
xmlns:xi="http://www.w3.org/2001/XInclude"
type="guide" style="task"
diff --git a/platform-demos/C/grid.js.page b/platform-demos/C/grid.js.page
index b4c4576..afa209f 100644
--- a/platform-demos/C/grid.js.page
+++ b/platform-demos/C/grid.js.page
@@ -1,3 +1,4 @@
+<?xml version='1.0' encoding='UTF-8'?>
<page xmlns="http://projectmallard.org/1.0/"
xmlns:xi="http://www.w3.org/2001/XInclude"
type="guide" style="task"
diff --git a/platform-demos/C/grid.py.page b/platform-demos/C/grid.py.page
index aa64f7f..f58363e 100644
--- a/platform-demos/C/grid.py.page
+++ b/platform-demos/C/grid.py.page
@@ -1,3 +1,4 @@
+<?xml version='1.0' encoding='UTF-8'?>
<page xmlns="http://projectmallard.org/1.0/"
xmlns:xi="http://www.w3.org/2001/XInclude"
type="guide" style="task"
diff --git a/platform-demos/C/grid.vala.page b/platform-demos/C/grid.vala.page
index 6f1f755..6b06cd6 100644
--- a/platform-demos/C/grid.vala.page
+++ b/platform-demos/C/grid.vala.page
@@ -1,3 +1,4 @@
+<?xml version='1.0' encoding='UTF-8'?>
<page xmlns="http://projectmallard.org/1.0/"
xmlns:xi="http://www.w3.org/2001/XInclude"
type="guide" style="task"
diff --git a/platform-demos/C/grid_with_entry.js.page b/platform-demos/C/grid_with_entry.js.page
index 2b5eb2e..e717de8 100644
--- a/platform-demos/C/grid_with_entry.js.page
+++ b/platform-demos/C/grid_with_entry.js.page
@@ -1,3 +1,4 @@
+<?xml version='1.0' encoding='UTF-8'?>
<page xmlns="http://projectmallard.org/1.0/"
type="guide" style="task"
id="entry.js">
diff --git a/platform-demos/C/guitar-tuner.c.page b/platform-demos/C/guitar-tuner.c.page
index 7f0de2a..d30dcaa 100644
--- a/platform-demos/C/guitar-tuner.c.page
+++ b/platform-demos/C/guitar-tuner.c.page
@@ -1,3 +1,4 @@
+<?xml version='1.0' encoding='UTF-8'?>
<page xmlns="http://projectmallard.org/1.0/"
type="topic"
id="guitar-tuner.c">
diff --git a/platform-demos/C/guitar-tuner.js.page b/platform-demos/C/guitar-tuner.js.page
index bce229a..b3981f3 100644
--- a/platform-demos/C/guitar-tuner.js.page
+++ b/platform-demos/C/guitar-tuner.js.page
@@ -1,3 +1,4 @@
+<?xml version='1.0' encoding='UTF-8'?>
<page xmlns="http://projectmallard.org/1.0/"
type="guide" style="task"
id="guitar-tuner.js">
@@ -115,7 +116,7 @@ function playSound(frequency){
Mainloop.timeout_add(500, function () {
pipeline.set_state(Gst.State.PAUSED);
return false;
- });
+ });
}]]></code>
<p>The first thing we need to do is decide what tunes we want to make when we push a button. The frequencies list takes care of that. After that we get to actually making the sounds with the function playSound. For function playSound we give as an input a frequency (that we just defined in the frequencies variable). First thing we need to construct is a pipeline, a source and a sink. For the source we set the frequency. To the pipeline we add both the source and the sink and then we tell it to keep playing. As a last thing we use the const Mainloop to get the pipeline to pause after a 500ms. </p>
<p>Now we have the method of playing a tune when clicking a button. Next well make the conncetions between pushing a button and playing the correct sound from that button.</p>
@@ -187,7 +188,7 @@ function playSound(frequency){
Mainloop.timeout_add(500, function () {
pipeline.set_state(Gst.State.PAUSED);
return false;
-});
+});
}
E.connect("clicked", function() {
diff --git a/platform-demos/C/guitar-tuner.py.page b/platform-demos/C/guitar-tuner.py.page
index 8f78467..ccc5b8e 100644
--- a/platform-demos/C/guitar-tuner.py.page
+++ b/platform-demos/C/guitar-tuner.py.page
@@ -1,3 +1,4 @@
+<?xml version='1.0' encoding='UTF-8'?>
<page xmlns="http://projectmallard.org/1.0/"
type="topic"
id="guitar-tuner.py">
diff --git a/platform-demos/C/guitar-tuner.vala.page b/platform-demos/C/guitar-tuner.vala.page
index 1d7bd0b..58a3240 100644
--- a/platform-demos/C/guitar-tuner.vala.page
+++ b/platform-demos/C/guitar-tuner.vala.page
@@ -1,3 +1,4 @@
+<?xml version='1.0' encoding='UTF-8'?>
<page xmlns="http://projectmallard.org/1.0/"
type="topic"
id="guitar-tuner.vala">
diff --git a/platform-demos/C/hello-world.vala.page b/platform-demos/C/hello-world.vala.page
index 56f049f..2e3362f 100644
--- a/platform-demos/C/hello-world.vala.page
+++ b/platform-demos/C/hello-world.vala.page
@@ -1,3 +1,4 @@
+<?xml version='1.0' encoding='UTF-8'?>
<page xmlns="http://projectmallard.org/1.0/"
type="guide" style="task"
id="hello-world.vala">
diff --git a/platform-demos/C/helloWorld.js.page b/platform-demos/C/helloWorld.js.page
index 07bfd78..8bff7a6 100644
--- a/platform-demos/C/helloWorld.js.page
+++ b/platform-demos/C/helloWorld.js.page
@@ -1,3 +1,4 @@
+<?xml version='1.0' encoding='UTF-8'?>
<page xmlns="http://projectmallard.org/1.0/"
type="guide" style="task"
id="helloWorld.js">
diff --git a/platform-demos/C/helloworldautotools.js.page b/platform-demos/C/helloworldautotools.js.page
index d0d3af4..5c1c915 100644
--- a/platform-demos/C/helloworldautotools.js.page
+++ b/platform-demos/C/helloworldautotools.js.page
@@ -1,3 +1,4 @@
+<?xml version='1.0' encoding='UTF-8'?>
<page xmlns="http://projectmallard.org/1.0/"
type="topic" style="task"
id="helloworldautotools.js">
diff --git a/platform-demos/C/help.vala.page b/platform-demos/C/help.vala.page
index c034b5a..37670ff 100644
--- a/platform-demos/C/help.vala.page
+++ b/platform-demos/C/help.vala.page
@@ -1,3 +1,4 @@
+<?xml version='1.0' encoding='UTF-8'?>
<page xmlns="http://projectmallard.org/1.0/"
type="topic" style="task"
id="help.vala">
diff --git a/platform-demos/C/image-viewer.c.page b/platform-demos/C/image-viewer.c.page
index 34b79c9..87b1c40 100644
--- a/platform-demos/C/image-viewer.c.page
+++ b/platform-demos/C/image-viewer.c.page
@@ -1,3 +1,4 @@
+<?xml version='1.0' encoding='UTF-8'?>
<page xmlns="http://projectmallard.org/1.0/"
type="topic"
id="image-viewer.c">
diff --git a/platform-demos/C/image-viewer.js.page b/platform-demos/C/image-viewer.js.page
index bcf29a0..e1353ff 100644
--- a/platform-demos/C/image-viewer.js.page
+++ b/platform-demos/C/image-viewer.js.page
@@ -1,3 +1,4 @@
+<?xml version='1.0' encoding='UTF-8'?>
<page xmlns="http://projectmallard.org/1.0/"
type="topic"
id="image-viewer.js">
diff --git a/platform-demos/C/image-viewer.py.page b/platform-demos/C/image-viewer.py.page
index 63a929b..4ae72fa 100644
--- a/platform-demos/C/image-viewer.py.page
+++ b/platform-demos/C/image-viewer.py.page
@@ -1,3 +1,4 @@
+<?xml version='1.0' encoding='UTF-8'?>
<page xmlns="http://projectmallard.org/1.0/"
type="topic"
id="image-viewer.py">
diff --git a/platform-demos/C/image-viewer.vala.page b/platform-demos/C/image-viewer.vala.page
index a9e9092..8b9e8e9 100644
--- a/platform-demos/C/image-viewer.vala.page
+++ b/platform-demos/C/image-viewer.vala.page
@@ -1,3 +1,4 @@
+<?xml version='1.0' encoding='UTF-8'?>
<page xmlns="http://projectmallard.org/1.0/"
type="topic"
id="image-viewer.vala">
diff --git a/platform-demos/C/image.c.page b/platform-demos/C/image.c.page
index 574fdd1..33debf5 100644
--- a/platform-demos/C/image.c.page
+++ b/platform-demos/C/image.c.page
@@ -1,3 +1,4 @@
+<?xml version='1.0' encoding='UTF-8'?>
<page xmlns="http://projectmallard.org/1.0/"
xmlns:xi="http://www.w3.org/2001/XInclude"
type="guide" style="task"
@@ -35,5 +36,4 @@
<item><p><link href="http://developer.gnome.org/gtk3/stable/GtkWindow.html">GtkWindow</link></p></item>
<item><p><link href="http://developer.gnome.org/gtk3/stable/GtkImage.html">GtkImage</link></p></item>
</list>
-</page>
-
+</page>
diff --git a/platform-demos/C/image.py.page b/platform-demos/C/image.py.page
index b651ccf..c09523f 100644
--- a/platform-demos/C/image.py.page
+++ b/platform-demos/C/image.py.page
@@ -1,3 +1,4 @@
+<?xml version='1.0' encoding='UTF-8'?>
<page xmlns="http://projectmallard.org/1.0/"
xmlns:xi="http://www.w3.org/2001/XInclude"
type="guide" style="task"
diff --git a/platform-demos/C/image.vala.page b/platform-demos/C/image.vala.page
index f2960eb..7787a29 100644
--- a/platform-demos/C/image.vala.page
+++ b/platform-demos/C/image.vala.page
@@ -1,3 +1,4 @@
+<?xml version='1.0' encoding='UTF-8'?>
<page xmlns="http://projectmallard.org/1.0/"
xmlns:xi="http://www.w3.org/2001/XInclude"
type="guide" style="task"
diff --git a/platform-demos/C/label.c.page b/platform-demos/C/label.c.page
index 7358ce0..71b77b2 100644
--- a/platform-demos/C/label.c.page
+++ b/platform-demos/C/label.c.page
@@ -1,3 +1,4 @@
+<?xml version='1.0' encoding='UTF-8'?>
<page xmlns="http://projectmallard.org/1.0/"
xmlns:xi="http://www.w3.org/2001/XInclude"
type="guide" style="task"
@@ -35,5 +36,4 @@
<item><p><link href="http://developer.gnome.org/gtk3/stable/GtkWindow.html">GtkWindow</link></p></item>
<item><p><link href="http://developer.gnome.org/gtk3/3.4/GtkLabel.html">GtkLabel</link></p></item>
</list>
-</page>
-
+</page>
diff --git a/platform-demos/C/label.js.page b/platform-demos/C/label.js.page
index 76a506c..25342bf 100644
--- a/platform-demos/C/label.js.page
+++ b/platform-demos/C/label.js.page
@@ -1,3 +1,4 @@
+<?xml version='1.0' encoding='UTF-8'?>
<page xmlns="http://projectmallard.org/1.0/"
xmlns:xi="http://www.w3.org/2001/XInclude"
type="guide" style="task"
diff --git a/platform-demos/C/label.py.page b/platform-demos/C/label.py.page
index 32be7c7..754d01e 100644
--- a/platform-demos/C/label.py.page
+++ b/platform-demos/C/label.py.page
@@ -1,3 +1,4 @@
+<?xml version='1.0' encoding='UTF-8'?>
<page xmlns="http://projectmallard.org/1.0/"
xmlns:xi="http://www.w3.org/2001/XInclude"
type="guide" style="task"
diff --git a/platform-demos/C/label.vala.page b/platform-demos/C/label.vala.page
index fcaf9c1..efd4524 100644
--- a/platform-demos/C/label.vala.page
+++ b/platform-demos/C/label.vala.page
@@ -1,3 +1,4 @@
+<?xml version='1.0' encoding='UTF-8'?>
<page xmlns="http://projectmallard.org/1.0/"
xmlns:xi="http://www.w3.org/2001/XInclude"
type="guide" style="task"
diff --git a/platform-demos/C/linkbutton.js.page b/platform-demos/C/linkbutton.js.page
index e326dbb..dfdc5ec 100644
--- a/platform-demos/C/linkbutton.js.page
+++ b/platform-demos/C/linkbutton.js.page
@@ -1,3 +1,4 @@
+<?xml version='1.0' encoding='UTF-8'?>
<page xmlns="http://projectmallard.org/1.0/"
xmlns:xi="http://www.w3.org/2001/XInclude"
type="guide" style="task"
diff --git a/platform-demos/C/linkbutton.py.page b/platform-demos/C/linkbutton.py.page
index a51e036..476a91f 100644
--- a/platform-demos/C/linkbutton.py.page
+++ b/platform-demos/C/linkbutton.py.page
@@ -1,3 +1,4 @@
+<?xml version='1.0' encoding='UTF-8'?>
<page xmlns="http://projectmallard.org/1.0/"
xmlns:xi="http://www.w3.org/2001/XInclude"
type="guide" style="task"
diff --git a/platform-demos/C/magic-mirror.vala.page b/platform-demos/C/magic-mirror.vala.page
index 8a3fffa..cb9dfca 100644
--- a/platform-demos/C/magic-mirror.vala.page
+++ b/platform-demos/C/magic-mirror.vala.page
@@ -1,3 +1,4 @@
+<?xml version='1.0' encoding='UTF-8'?>
<page xmlns="http://projectmallard.org/1.0/"
type="topic"
id="magic-mirror.vala">
@@ -164,5 +165,3 @@ public class Main : Object
</section>
</page>
-
-
diff --git a/platform-demos/C/menus.vala.page b/platform-demos/C/menus.vala.page
index 9e9a408..cd12653 100644
--- a/platform-demos/C/menus.vala.page
+++ b/platform-demos/C/menus.vala.page
@@ -1,3 +1,4 @@
+<?xml version='1.0' encoding='UTF-8'?>
<page xmlns="http://projectmallard.org/1.0/"
type="topic" style="task"
id="menus.vala">
diff --git a/platform-demos/C/message-board.c.page b/platform-demos/C/message-board.c.page
index 6131008..c19ed60 100644
--- a/platform-demos/C/message-board.c.page
+++ b/platform-demos/C/message-board.c.page
@@ -1,3 +1,4 @@
+<?xml version='1.0' encoding='UTF-8'?>
<page xmlns="http://projectmallard.org/1.0/"
type="topic"
id="message-board.c">
diff --git a/platform-demos/C/messagedialog.js.page b/platform-demos/C/messagedialog.js.page
index 585aa93..497ee22 100644
--- a/platform-demos/C/messagedialog.js.page
+++ b/platform-demos/C/messagedialog.js.page
@@ -1,3 +1,4 @@
+<?xml version='1.0' encoding='UTF-8'?>
<page xmlns="http://projectmallard.org/1.0/"
xmlns:xi="http://www.w3.org/2001/XInclude"
type="guide" style="task"
diff --git a/platform-demos/C/messagedialog.py.page b/platform-demos/C/messagedialog.py.page
index 8de24fd..08b0468 100644
--- a/platform-demos/C/messagedialog.py.page
+++ b/platform-demos/C/messagedialog.py.page
@@ -1,3 +1,4 @@
+<?xml version='1.0' encoding='UTF-8'?>
<page xmlns="http://projectmallard.org/1.0/"
xmlns:xi="http://www.w3.org/2001/XInclude"
type="guide" style="task"
diff --git a/platform-demos/C/messagedialog.vala.page b/platform-demos/C/messagedialog.vala.page
index 0c02395..0545383 100644
--- a/platform-demos/C/messagedialog.vala.page
+++ b/platform-demos/C/messagedialog.vala.page
@@ -1,3 +1,4 @@
+<?xml version='1.0' encoding='UTF-8'?>
<page xmlns="http://projectmallard.org/1.0/"
xmlns:xi="http://www.w3.org/2001/XInclude"
type="guide" style="task"
diff --git a/platform-demos/C/part-1.vala.page b/platform-demos/C/part-1.vala.page
index 12fb7ba..f6faa2f 100644
--- a/platform-demos/C/part-1.vala.page
+++ b/platform-demos/C/part-1.vala.page
@@ -1,3 +1,4 @@
+<?xml version='1.0' encoding='UTF-8'?>
<page xmlns="http://projectmallard.org/1.0/"
type="topic" style="task"
id="part-1.vala">
diff --git a/platform-demos/C/part-2.vala.page b/platform-demos/C/part-2.vala.page
index 9541685..36ce231 100644
--- a/platform-demos/C/part-2.vala.page
+++ b/platform-demos/C/part-2.vala.page
@@ -1,3 +1,4 @@
+<?xml version='1.0' encoding='UTF-8'?>
<page xmlns="http://projectmallard.org/1.0/"
type="topic" style="task"
id="part-2.vala">
diff --git a/platform-demos/C/part-3.vala.page b/platform-demos/C/part-3.vala.page
index 36306b6..ae00c40 100644
--- a/platform-demos/C/part-3.vala.page
+++ b/platform-demos/C/part-3.vala.page
@@ -1,3 +1,4 @@
+<?xml version='1.0' encoding='UTF-8'?>
<page xmlns="http://projectmallard.org/1.0/"
type="topic" style="task"
id="part-3.vala">
diff --git a/platform-demos/C/part-4.vala.page b/platform-demos/C/part-4.vala.page
index 0a473af..c447ac4 100644
--- a/platform-demos/C/part-4.vala.page
+++ b/platform-demos/C/part-4.vala.page
@@ -1,3 +1,4 @@
+<?xml version='1.0' encoding='UTF-8'?>
<page xmlns="http://projectmallard.org/1.0/"
type="topic" style="task"
id="part-4.vala">
diff --git a/platform-demos/C/part-5.vala.page b/platform-demos/C/part-5.vala.page
index d688ed9..c7d74c2 100644
--- a/platform-demos/C/part-5.vala.page
+++ b/platform-demos/C/part-5.vala.page
@@ -1,3 +1,4 @@
+<?xml version='1.0' encoding='UTF-8'?>
<page xmlns="http://projectmallard.org/1.0/"
type="topic" style="task"
id="part-5.vala">
diff --git a/platform-demos/C/part-6.vala.page b/platform-demos/C/part-6.vala.page
index 5bfa52d..f67f229 100644
--- a/platform-demos/C/part-6.vala.page
+++ b/platform-demos/C/part-6.vala.page
@@ -1,3 +1,4 @@
+<?xml version='1.0' encoding='UTF-8'?>
<page xmlns="http://projectmallard.org/1.0/"
type="topic" style="task"
id="part-6.vala">
diff --git a/platform-demos/C/photo-wall.c.page b/platform-demos/C/photo-wall.c.page
index 5541bff..689df29 100644
--- a/platform-demos/C/photo-wall.c.page
+++ b/platform-demos/C/photo-wall.c.page
@@ -1,3 +1,4 @@
+<?xml version='1.0' encoding='UTF-8'?>
<page xmlns="http://projectmallard.org/1.0/"
type="topic"
id="photo-wall.c">
diff --git a/platform-demos/C/progressbar.py.page b/platform-demos/C/progressbar.py.page
index f057fdc..ceb557b 100644
--- a/platform-demos/C/progressbar.py.page
+++ b/platform-demos/C/progressbar.py.page
@@ -1,3 +1,4 @@
+<?xml version='1.0' encoding='UTF-8'?>
<page xmlns="http://projectmallard.org/1.0/"
xmlns:xi="http://www.w3.org/2001/XInclude"
type="guide" style="task"
diff --git a/platform-demos/C/progressbar.vala.page b/platform-demos/C/progressbar.vala.page
index 9a14963..86119b1 100644
--- a/platform-demos/C/progressbar.vala.page
+++ b/platform-demos/C/progressbar.vala.page
@@ -1,3 +1,4 @@
+<?xml version='1.0' encoding='UTF-8'?>
<page xmlns="http://projectmallard.org/1.0/"
xmlns:xi="http://www.w3.org/2001/XInclude"
type="guide" style="task"
diff --git a/platform-demos/C/radiobutton.py.page b/platform-demos/C/radiobutton.py.page
index b842490..bf7df66 100644
--- a/platform-demos/C/radiobutton.py.page
+++ b/platform-demos/C/radiobutton.py.page
@@ -1,3 +1,4 @@
+<?xml version='1.0' encoding='UTF-8'?>
<page xmlns="http://projectmallard.org/1.0/"
xmlns:xi="http://www.w3.org/2001/XInclude"
type="guide" style="task"
diff --git a/platform-demos/C/radiobutton.vala.page b/platform-demos/C/radiobutton.vala.page
index 77c3a31..a4110fd 100644
--- a/platform-demos/C/radiobutton.vala.page
+++ b/platform-demos/C/radiobutton.vala.page
@@ -1,3 +1,4 @@
+<?xml version='1.0' encoding='UTF-8'?>
<page xmlns="http://projectmallard.org/1.0/"
xmlns:xi="http://www.w3.org/2001/XInclude"
type="guide" style="task"
diff --git a/platform-demos/C/record-collection.js.page b/platform-demos/C/record-collection.js.page
index 72e98e0..039f606 100644
--- a/platform-demos/C/record-collection.js.page
+++ b/platform-demos/C/record-collection.js.page
@@ -1,3 +1,4 @@
+<?xml version='1.0' encoding='UTF-8'?>
<page xmlns="http://projectmallard.org/1.0/"
type="topic"
id="record-collection.js">
diff --git a/platform-demos/C/scale.py.page b/platform-demos/C/scale.py.page
index 766557f..c26dacc 100644
--- a/platform-demos/C/scale.py.page
+++ b/platform-demos/C/scale.py.page
@@ -1,3 +1,4 @@
+<?xml version='1.0' encoding='UTF-8'?>
<page xmlns="http://projectmallard.org/1.0/"
xmlns:xi="http://www.w3.org/2001/XInclude"
type="guide" style="task"
diff --git a/platform-demos/C/scrolledwindow.py.page b/platform-demos/C/scrolledwindow.py.page
index a093950..b20a781 100644
--- a/platform-demos/C/scrolledwindow.py.page
+++ b/platform-demos/C/scrolledwindow.py.page
@@ -1,3 +1,4 @@
+<?xml version='1.0' encoding='UTF-8'?>
<page xmlns="http://projectmallard.org/1.0/"
xmlns:xi="http://www.w3.org/2001/XInclude"
type="guide" style="task"
diff --git a/platform-demos/C/signals-callbacks.vala.page b/platform-demos/C/signals-callbacks.vala.page
index bbce75a..0a5971f 100644
--- a/platform-demos/C/signals-callbacks.vala.page
+++ b/platform-demos/C/signals-callbacks.vala.page
@@ -1,3 +1,4 @@
+<?xml version='1.0' encoding='UTF-8'?>
<page xmlns="http://projectmallard.org/1.0/"
type="topic" style="task"
id="signals-callbacks.vala">
diff --git a/platform-demos/C/spinbutton.py.page b/platform-demos/C/spinbutton.py.page
index 3782a01..985ad20 100644
--- a/platform-demos/C/spinbutton.py.page
+++ b/platform-demos/C/spinbutton.py.page
@@ -1,3 +1,4 @@
+<?xml version='1.0' encoding='UTF-8'?>
<page xmlns="http://projectmallard.org/1.0/"
xmlns:xi="http://www.w3.org/2001/XInclude"
type="guide" style="task"
diff --git a/platform-demos/C/spinner.py.page b/platform-demos/C/spinner.py.page
index 777a617..abd5fff 100644
--- a/platform-demos/C/spinner.py.page
+++ b/platform-demos/C/spinner.py.page
@@ -1,3 +1,4 @@
+<?xml version='1.0' encoding='UTF-8'?>
<page xmlns="http://projectmallard.org/1.0/"
xmlns:xi="http://www.w3.org/2001/XInclude"
type="guide" style="task"
diff --git a/platform-demos/C/spinner.vala.page b/platform-demos/C/spinner.vala.page
index b107e79..66923fe 100644
--- a/platform-demos/C/spinner.vala.page
+++ b/platform-demos/C/spinner.vala.page
@@ -1,3 +1,4 @@
+<?xml version='1.0' encoding='UTF-8'?>
<page xmlns="http://projectmallard.org/1.0/"
xmlns:xi="http://www.w3.org/2001/XInclude"
type="guide" style="task"
diff --git a/platform-demos/C/statusbar.py.page b/platform-demos/C/statusbar.py.page
index 86ed8a7..2623d4d 100644
--- a/platform-demos/C/statusbar.py.page
+++ b/platform-demos/C/statusbar.py.page
@@ -1,3 +1,4 @@
+<?xml version='1.0' encoding='UTF-8'?>
<page xmlns="http://projectmallard.org/1.0/"
xmlns:xi="http://www.w3.org/2001/XInclude"
type="guide" style="task"
diff --git a/platform-demos/C/statusbar.vala.page b/platform-demos/C/statusbar.vala.page
index 0c484e7..f5d3247 100644
--- a/platform-demos/C/statusbar.vala.page
+++ b/platform-demos/C/statusbar.vala.page
@@ -1,3 +1,4 @@
+<?xml version='1.0' encoding='UTF-8'?>
<page xmlns="http://projectmallard.org/1.0/"
xmlns:xi="http://www.w3.org/2001/XInclude"
type="guide" style="task"
diff --git a/platform-demos/C/switch.py.page b/platform-demos/C/switch.py.page
index 19b00f0..0b9ebc2 100644
--- a/platform-demos/C/switch.py.page
+++ b/platform-demos/C/switch.py.page
@@ -1,3 +1,4 @@
+<?xml version='1.0' encoding='UTF-8'?>
<page xmlns="http://projectmallard.org/1.0/"
xmlns:xi="http://www.w3.org/2001/XInclude"
type="guide" style="task"
diff --git a/platform-demos/C/switch.vala.page b/platform-demos/C/switch.vala.page
index 1ed7f78..c3c4af4 100644
--- a/platform-demos/C/switch.vala.page
+++ b/platform-demos/C/switch.vala.page
@@ -1,3 +1,4 @@
+<?xml version='1.0' encoding='UTF-8'?>
<page xmlns="http://projectmallard.org/1.0/"
xmlns:xi="http://www.w3.org/2001/XInclude"
type="guide" style="task"
@@ -22,7 +23,7 @@
<title>Switch</title>
<media type="image" mime="image/png" style="floatend" src="media/switch_off.png"/>
<media type="image" mime="image/png" src="media/switch_on.png"/>
-
+
<p>This Switch toggles the title.</p>
<code mime="text/x-vala" style="numbered"><xi:include href="samples/switch.vala" parse="text"><xi:fallback/></xi:include></code>
diff --git a/platform-demos/C/textview.py.page b/platform-demos/C/textview.py.page
index 1025f09..a05750e 100644
--- a/platform-demos/C/textview.py.page
+++ b/platform-demos/C/textview.py.page
@@ -1,3 +1,4 @@
+<?xml version='1.0' encoding='UTF-8'?>
<page xmlns="http://projectmallard.org/1.0/"
xmlns:xi="http://www.w3.org/2001/XInclude"
type="guide" style="task"
diff --git a/platform-demos/C/togglebutton.py.page b/platform-demos/C/togglebutton.py.page
index ba3d3ec..7fec6fa 100644
--- a/platform-demos/C/togglebutton.py.page
+++ b/platform-demos/C/togglebutton.py.page
@@ -1,3 +1,4 @@
+<?xml version='1.0' encoding='UTF-8'?>
<page xmlns="http://projectmallard.org/1.0/"
xmlns:xi="http://www.w3.org/2001/XInclude"
type="guide" style="task"
diff --git a/platform-demos/C/togglebutton.vala.page b/platform-demos/C/togglebutton.vala.page
index a2e02a9..e359f78 100644
--- a/platform-demos/C/togglebutton.vala.page
+++ b/platform-demos/C/togglebutton.vala.page
@@ -1,3 +1,4 @@
+<?xml version='1.0' encoding='UTF-8'?>
<page xmlns="http://projectmallard.org/1.0/"
xmlns:xi="http://www.w3.org/2001/XInclude"
type="guide" style="task"
diff --git a/platform-demos/C/toolbar.js.page b/platform-demos/C/toolbar.js.page
index 1362cf1..ad603bf 100644
--- a/platform-demos/C/toolbar.js.page
+++ b/platform-demos/C/toolbar.js.page
@@ -1,3 +1,4 @@
+<?xml version='1.0' encoding='UTF-8'?>
<page xmlns="http://projectmallard.org/1.0/"
type="guide" style="task"
id="toolbar.js">
diff --git a/platform-demos/C/toolbar.vala.page b/platform-demos/C/toolbar.vala.page
index a84517d..0338be0 100644
--- a/platform-demos/C/toolbar.vala.page
+++ b/platform-demos/C/toolbar.vala.page
@@ -1,3 +1,4 @@
+<?xml version='1.0' encoding='UTF-8'?>
<page xmlns="http://projectmallard.org/1.0/"
xmlns:xi="http://www.w3.org/2001/XInclude"
type="guide" style="task"
diff --git a/platform-demos/C/toolbars.vala.page b/platform-demos/C/toolbars.vala.page
index a977368..ef7a7b1 100644
--- a/platform-demos/C/toolbars.vala.page
+++ b/platform-demos/C/toolbars.vala.page
@@ -1,3 +1,4 @@
+<?xml version='1.0' encoding='UTF-8'?>
<page xmlns="http://projectmallard.org/1.0/"
type="topic" style="task"
id="toolbars.vala">
diff --git a/platform-demos/C/treeview.c.page b/platform-demos/C/treeview.c.page
index 146ba42..63ea887 100644
--- a/platform-demos/C/treeview.c.page
+++ b/platform-demos/C/treeview.c.page
@@ -1,3 +1,4 @@
+<?xml version='1.0' encoding='UTF-8'?>
<page xmlns="http://projectmallard.org/1.0/"
type="guide" style="task"
id="treeview.c">
diff --git a/platform-demos/C/treeview.js.page b/platform-demos/C/treeview.js.page
index f03cde1..9021c2c 100644
--- a/platform-demos/C/treeview.js.page
+++ b/platform-demos/C/treeview.js.page
@@ -1,3 +1,4 @@
+<?xml version='1.0' encoding='UTF-8'?>
<page xmlns="http://projectmallard.org/1.0/"
type="guide" style="task"
id="treeview.js">
diff --git a/platform-demos/C/treeview.py.page b/platform-demos/C/treeview.py.page
index 101c6e1..0f4eab3 100644
--- a/platform-demos/C/treeview.py.page
+++ b/platform-demos/C/treeview.py.page
@@ -1,3 +1,4 @@
+<?xml version='1.0' encoding='UTF-8'?>
<page xmlns="http://projectmallard.org/1.0/"
type="guide" style="task"
id="treeview.py">
diff --git a/platform-demos/C/treeview.vala.page b/platform-demos/C/treeview.vala.page
index 8d47d74..6506014 100644
--- a/platform-demos/C/treeview.vala.page
+++ b/platform-demos/C/treeview.vala.page
@@ -1,3 +1,4 @@
+<?xml version='1.0' encoding='UTF-8'?>
<page xmlns="http://projectmallard.org/1.0/"
type="guide" style="task"
id="treeview.vala">
diff --git a/platform-demos/C/treeview_simple_liststore.vala.page b/platform-demos/C/treeview_simple_liststore.vala.page
index 30feb11..e1465ec 100644
--- a/platform-demos/C/treeview_simple_liststore.vala.page
+++ b/platform-demos/C/treeview_simple_liststore.vala.page
@@ -1,3 +1,4 @@
+<?xml version='1.0' encoding='UTF-8'?>
<page xmlns="http://projectmallard.org/1.0/"
xmlns:xi="http://www.w3.org/2001/XInclude"
type="guide" style="task"
diff --git a/platform-demos/C/weatherApp.js.page b/platform-demos/C/weatherApp.js.page
index 8258537..347a2d1 100644
--- a/platform-demos/C/weatherApp.js.page
+++ b/platform-demos/C/weatherApp.js.page
@@ -1,3 +1,4 @@
+<?xml version='1.0' encoding='UTF-8'?>
<page xmlns="http://projectmallard.org/1.0/"
type="guide" style="task"
id="weatherApp.js">
diff --git a/platform-demos/C/weatherAppMain.js.page b/platform-demos/C/weatherAppMain.js.page
index 5c191b8..c903d14 100644
--- a/platform-demos/C/weatherAppMain.js.page
+++ b/platform-demos/C/weatherAppMain.js.page
@@ -1,3 +1,4 @@
+<?xml version='1.0' encoding='UTF-8'?>
<page xmlns="http://projectmallard.org/1.0/"
type="topic" style="task"
id="weatherAppMain.js">
diff --git a/platform-demos/C/weatherAutotools.js.page b/platform-demos/C/weatherAutotools.js.page
index d55fd8c..932d243 100644
--- a/platform-demos/C/weatherAutotools.js.page
+++ b/platform-demos/C/weatherAutotools.js.page
@@ -1,3 +1,4 @@
+<?xml version='1.0' encoding='UTF-8'?>
<page xmlns="http://projectmallard.org/1.0/"
type="topic" style="task"
id="weatherAutotools.js">
@@ -91,7 +92,7 @@ do_subst = sed -e 's|@abs_top_srcdir[ ]|$(abs_top_srcdir)|g' \
weatherapp.sh: weatherapp.sh.in
$(AM_V_GEN) $(do_subst) $< > $@
chmod +x $@
-
+
CLEANFILES += weatherapp.sh
EXTRA_DIST += weatherapp.sh.in
@@ -118,7 +119,7 @@ install-icons:
mkdir -p $(DESTDIR)$(pkgdatadir)/icons/; \
$(INSTALL_DATA) $(srcdir)/$$icon $(DESTDIR)$(pkgdatadir)/icons/; \
done
-
+
install-data-local: install-icons]]></code>
<p>This needs a bit more explaining. Compared to the HelloWorld Makefile.am this has changed quite a bit. Lets go through all the new blocks:</p>
<p>bin_scripts are the files that are needed to run your application. In thin case they are the first two files are the program itself and the third is the script that launches the application.</p>
diff --git a/platform-demos/C/weatherGeonames.js.page b/platform-demos/C/weatherGeonames.js.page
index 7ecf277..466f86f 100644
--- a/platform-demos/C/weatherGeonames.js.page
+++ b/platform-demos/C/weatherGeonames.js.page
@@ -1,3 +1,4 @@
+<?xml version='1.0' encoding='UTF-8'?>
<page xmlns="http://projectmallard.org/1.0/"
type="topic" style="task"
id="weatherGeonames.js">
diff --git a/platform-demos/C/widget.c.page b/platform-demos/C/widget.c.page
index 8894c4d..2459713 100644
--- a/platform-demos/C/widget.c.page
+++ b/platform-demos/C/widget.c.page
@@ -1,3 +1,4 @@
+<?xml version='1.0' encoding='UTF-8'?>
<page xmlns="http://projectmallard.org/1.0/"
xmlns:xi="http://www.w3.org/2001/XInclude"
type="guide" style="task"
diff --git a/platform-demos/C/widget.js.page b/platform-demos/C/widget.js.page
index b4fd965..ef9ad15 100644
--- a/platform-demos/C/widget.js.page
+++ b/platform-demos/C/widget.js.page
@@ -1,3 +1,4 @@
+<?xml version='1.0' encoding='UTF-8'?>
<page xmlns="http://projectmallard.org/1.0/"
xmlns:xi="http://www.w3.org/2001/XInclude"
type="guide" style="task"
diff --git a/platform-demos/C/widget.py.page b/platform-demos/C/widget.py.page
index 0caa61c..0a06823 100644
--- a/platform-demos/C/widget.py.page
+++ b/platform-demos/C/widget.py.page
@@ -1,3 +1,4 @@
+<?xml version='1.0' encoding='UTF-8'?>
<page xmlns="http://projectmallard.org/1.0/"
xmlns:xi="http://www.w3.org/2001/XInclude"
type="guide" style="task"
diff --git a/platform-demos/C/widget.vala.page b/platform-demos/C/widget.vala.page
index 281a3ea..e7cc793 100644
--- a/platform-demos/C/widget.vala.page
+++ b/platform-demos/C/widget.vala.page
@@ -1,3 +1,4 @@
+<?xml version='1.0' encoding='UTF-8'?>
<page xmlns="http://projectmallard.org/1.0/"
xmlns:xi="http://www.w3.org/2001/XInclude"
type="guide" style="task"
diff --git a/platform-demos/C/window.c.page b/platform-demos/C/window.c.page
index 56e7fec..587aa5f 100644
--- a/platform-demos/C/window.c.page
+++ b/platform-demos/C/window.c.page
@@ -1,3 +1,4 @@
+<?xml version='1.0' encoding='UTF-8'?>
<page xmlns="http://projectmallard.org/1.0/"
xmlns:xi="http://www.w3.org/2001/XInclude"
type="guide" style="task"
diff --git a/platform-demos/C/window.js.page b/platform-demos/C/window.js.page
index 6d6c87e..01f6047 100644
--- a/platform-demos/C/window.js.page
+++ b/platform-demos/C/window.js.page
@@ -1,3 +1,4 @@
+<?xml version='1.0' encoding='UTF-8'?>
<page xmlns="http://projectmallard.org/1.0/"
xmlns:xi="http://www.w3.org/2001/XInclude"
type="guide" style="task"
diff --git a/platform-demos/C/window.py.page b/platform-demos/C/window.py.page
index 15a33d4..ff2a97a 100644
--- a/platform-demos/C/window.py.page
+++ b/platform-demos/C/window.py.page
@@ -1,3 +1,4 @@
+<?xml version='1.0' encoding='UTF-8'?>
<page xmlns="http://projectmallard.org/1.0/"
xmlns:xi="http://www.w3.org/2001/XInclude"
type="guide" style="task"
diff --git a/platform-demos/C/window.vala.page b/platform-demos/C/window.vala.page
index a95ae7b..2046cd4 100644
--- a/platform-demos/C/window.vala.page
+++ b/platform-demos/C/window.vala.page
@@ -1,3 +1,4 @@
+<?xml version='1.0' encoding='UTF-8'?>
<page xmlns="http://projectmallard.org/1.0/"
xmlns:xi="http://www.w3.org/2001/XInclude"
type="guide" style="task"
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]