summaryrefslogtreecommitdiff
path: root/examples
diff options
context:
space:
mode:
authorMatthias Clasen <mclasen@redhat.com>2014-11-28 23:55:03 -0500
committerMatthias Clasen <mclasen@redhat.com>2014-11-28 23:57:16 -0500
commit380ca9bc56ce69c41019dfd93dc9677d15a9d1e2 (patch)
tree45461a1cbef0e814f0d25c78dc56aa5d59d66ced /examples
parent4c33645a7aeb98cde0140202a1a2a18a0f25564a (diff)
downloadgtk+-380ca9bc56ce69c41019dfd93dc9677d15a9d1e2.tar.gz
Make include order consistent in example applications
Pointed out in https://bugzilla.gnome.org/show_bug.cgi?id=740537
Diffstat (limited to 'examples')
-rw-r--r--examples/application1/exampleappwin.c3
-rw-r--r--examples/application1/main.c3
-rw-r--r--examples/application10/exampleappwin.c3
-rw-r--r--examples/application10/main.c3
-rw-r--r--examples/application2/exampleappwin.c3
-rw-r--r--examples/application2/main.c3
-rw-r--r--examples/application3/exampleappwin.c3
-rw-r--r--examples/application3/main.c3
-rw-r--r--examples/application4/exampleappwin.c3
-rw-r--r--examples/application4/main.c3
-rw-r--r--examples/application5/exampleappwin.c3
-rw-r--r--examples/application5/main.c3
-rw-r--r--examples/application6/exampleappwin.c3
-rw-r--r--examples/application6/main.c3
-rw-r--r--examples/application7/exampleappwin.c3
-rw-r--r--examples/application7/main.c3
-rw-r--r--examples/application8/exampleappwin.c3
-rw-r--r--examples/application8/main.c3
-rw-r--r--examples/application9/exampleappwin.c3
-rw-r--r--examples/application9/main.c3
20 files changed, 40 insertions, 20 deletions
diff --git a/examples/application1/exampleappwin.c b/examples/application1/exampleappwin.c
index 7b6c6998d3..a4e9733e34 100644
--- a/examples/application1/exampleappwin.c
+++ b/examples/application1/exampleappwin.c
@@ -1,6 +1,7 @@
+#include <gtk/gtk.h>
+
#include "exampleapp.h"
#include "exampleappwin.h"
-#include <gtk/gtk.h>
struct _ExampleAppWindow
{
diff --git a/examples/application1/main.c b/examples/application1/main.c
index ccbf16a5fa..28612ca50b 100644
--- a/examples/application1/main.c
+++ b/examples/application1/main.c
@@ -1,5 +1,6 @@
#include <gtk/gtk.h>
-#include <exampleapp.h>
+
+#include "exampleapp.h"
int
main (int argc, char *argv[])
diff --git a/examples/application10/exampleappwin.c b/examples/application10/exampleappwin.c
index 4c0efc65e0..7ac1649a08 100644
--- a/examples/application10/exampleappwin.c
+++ b/examples/application10/exampleappwin.c
@@ -1,6 +1,7 @@
+#include <gtk/gtk.h>
+
#include "exampleapp.h"
#include "exampleappwin.h"
-#include <gtk/gtk.h>
struct _ExampleAppWindow
{
diff --git a/examples/application10/main.c b/examples/application10/main.c
index 546d923dd5..ad5b022b3f 100644
--- a/examples/application10/main.c
+++ b/examples/application10/main.c
@@ -1,5 +1,6 @@
#include <gtk/gtk.h>
-#include <exampleapp.h>
+
+#include "exampleapp.h"
int
main (int argc, char *argv[])
diff --git a/examples/application2/exampleappwin.c b/examples/application2/exampleappwin.c
index 0268b01afd..8098225f68 100644
--- a/examples/application2/exampleappwin.c
+++ b/examples/application2/exampleappwin.c
@@ -1,6 +1,7 @@
+#include <gtk/gtk.h>
+
#include "exampleapp.h"
#include "exampleappwin.h"
-#include <gtk/gtk.h>
struct _ExampleAppWindow
{
diff --git a/examples/application2/main.c b/examples/application2/main.c
index ccbf16a5fa..28612ca50b 100644
--- a/examples/application2/main.c
+++ b/examples/application2/main.c
@@ -1,5 +1,6 @@
#include <gtk/gtk.h>
-#include <exampleapp.h>
+
+#include "exampleapp.h"
int
main (int argc, char *argv[])
diff --git a/examples/application3/exampleappwin.c b/examples/application3/exampleappwin.c
index fb23731901..96475a7591 100644
--- a/examples/application3/exampleappwin.c
+++ b/examples/application3/exampleappwin.c
@@ -1,6 +1,7 @@
+#include <gtk/gtk.h>
+
#include "exampleapp.h"
#include "exampleappwin.h"
-#include <gtk/gtk.h>
struct _ExampleAppWindow
{
diff --git a/examples/application3/main.c b/examples/application3/main.c
index ccbf16a5fa..28612ca50b 100644
--- a/examples/application3/main.c
+++ b/examples/application3/main.c
@@ -1,5 +1,6 @@
#include <gtk/gtk.h>
-#include <exampleapp.h>
+
+#include "exampleapp.h"
int
main (int argc, char *argv[])
diff --git a/examples/application4/exampleappwin.c b/examples/application4/exampleappwin.c
index fb23731901..96475a7591 100644
--- a/examples/application4/exampleappwin.c
+++ b/examples/application4/exampleappwin.c
@@ -1,6 +1,7 @@
+#include <gtk/gtk.h>
+
#include "exampleapp.h"
#include "exampleappwin.h"
-#include <gtk/gtk.h>
struct _ExampleAppWindow
{
diff --git a/examples/application4/main.c b/examples/application4/main.c
index ccbf16a5fa..28612ca50b 100644
--- a/examples/application4/main.c
+++ b/examples/application4/main.c
@@ -1,5 +1,6 @@
#include <gtk/gtk.h>
-#include <exampleapp.h>
+
+#include "exampleapp.h"
int
main (int argc, char *argv[])
diff --git a/examples/application5/exampleappwin.c b/examples/application5/exampleappwin.c
index 5e0471b85a..829afb98e0 100644
--- a/examples/application5/exampleappwin.c
+++ b/examples/application5/exampleappwin.c
@@ -1,6 +1,7 @@
+#include <gtk/gtk.h>
+
#include "exampleapp.h"
#include "exampleappwin.h"
-#include <gtk/gtk.h>
struct _ExampleAppWindow
{
diff --git a/examples/application5/main.c b/examples/application5/main.c
index 546d923dd5..ad5b022b3f 100644
--- a/examples/application5/main.c
+++ b/examples/application5/main.c
@@ -1,5 +1,6 @@
#include <gtk/gtk.h>
-#include <exampleapp.h>
+
+#include "exampleapp.h"
int
main (int argc, char *argv[])
diff --git a/examples/application6/exampleappwin.c b/examples/application6/exampleappwin.c
index 223061484f..103dac5d31 100644
--- a/examples/application6/exampleappwin.c
+++ b/examples/application6/exampleappwin.c
@@ -1,6 +1,7 @@
+#include <gtk/gtk.h>
+
#include "exampleapp.h"
#include "exampleappwin.h"
-#include <gtk/gtk.h>
struct ExampleAppWindow
{
diff --git a/examples/application6/main.c b/examples/application6/main.c
index 546d923dd5..ad5b022b3f 100644
--- a/examples/application6/main.c
+++ b/examples/application6/main.c
@@ -1,5 +1,6 @@
#include <gtk/gtk.h>
-#include <exampleapp.h>
+
+#include "exampleapp.h"
int
main (int argc, char *argv[])
diff --git a/examples/application7/exampleappwin.c b/examples/application7/exampleappwin.c
index 0d50e96c71..88ad7bcdf8 100644
--- a/examples/application7/exampleappwin.c
+++ b/examples/application7/exampleappwin.c
@@ -1,6 +1,7 @@
+#include <gtk/gtk.h>
+
#include "exampleapp.h"
#include "exampleappwin.h"
-#include <gtk/gtk.h>
struct _ExampleAppWindow
{
diff --git a/examples/application7/main.c b/examples/application7/main.c
index 546d923dd5..ad5b022b3f 100644
--- a/examples/application7/main.c
+++ b/examples/application7/main.c
@@ -1,5 +1,6 @@
#include <gtk/gtk.h>
-#include <exampleapp.h>
+
+#include "exampleapp.h"
int
main (int argc, char *argv[])
diff --git a/examples/application8/exampleappwin.c b/examples/application8/exampleappwin.c
index 545a83812e..f85051968f 100644
--- a/examples/application8/exampleappwin.c
+++ b/examples/application8/exampleappwin.c
@@ -1,6 +1,7 @@
+#include <gtk/gtk.h>
+
#include "exampleapp.h"
#include "exampleappwin.h"
-#include <gtk/gtk.h>
struct _ExampleAppWindow
{
diff --git a/examples/application8/main.c b/examples/application8/main.c
index 546d923dd5..ad5b022b3f 100644
--- a/examples/application8/main.c
+++ b/examples/application8/main.c
@@ -1,5 +1,6 @@
#include <gtk/gtk.h>
-#include <exampleapp.h>
+
+#include "exampleapp.h"
int
main (int argc, char *argv[])
diff --git a/examples/application9/exampleappwin.c b/examples/application9/exampleappwin.c
index 26779e942c..d3103f97d3 100644
--- a/examples/application9/exampleappwin.c
+++ b/examples/application9/exampleappwin.c
@@ -1,6 +1,7 @@
+#include <gtk/gtk.h>
+
#include "exampleapp.h"
#include "exampleappwin.h"
-#include <gtk/gtk.h>
struct _ExampleAppWindow
{
diff --git a/examples/application9/main.c b/examples/application9/main.c
index 546d923dd5..ad5b022b3f 100644
--- a/examples/application9/main.c
+++ b/examples/application9/main.c
@@ -1,5 +1,6 @@
#include <gtk/gtk.h>
-#include <exampleapp.h>
+
+#include "exampleapp.h"
int
main (int argc, char *argv[])