summaryrefslogtreecommitdiff
path: root/examples
diff options
context:
space:
mode:
authorEmmanuele Bassi <ebassi@linux.intel.com>2010-01-06 15:10:23 +0000
committerEmmanuele Bassi <ebassi@linux.intel.com>2010-01-06 15:10:23 +0000
commiteab88af21fcaaab2c5152d90a2244f04ee7d25ce (patch)
tree51a608c4db91ca37039d2d6e77e43ad2f1d639a3 /examples
parent96b7e2526e8b51bf33ef3e633364549fa16686cc (diff)
downloadclutter-gtk-eab88af21fcaaab2c5152d90a2244f04ee7d25ce.tar.gz
examples: Fix compilation with maintainer cflags
The examples are not compiling with --enable-maintainer-flags turned on.
Diffstat (limited to 'examples')
-rw-r--r--examples/expose-test.c2
-rw-r--r--examples/gtk-clutter-standin-test.c2
-rw-r--r--examples/gtk-clutter-window-test.c2
-rw-r--r--examples/gtk-clutter-window-test2.c2
-rw-r--r--examples/refcounting-test.c4
-rw-r--r--examples/reparenting-test.c2
-rw-r--r--examples/stacked-standins.c2
-rw-r--r--examples/test-scrolling.c2
8 files changed, 16 insertions, 2 deletions
diff --git a/examples/expose-test.c b/examples/expose-test.c
index 464d5ec..481ad51 100644
--- a/examples/expose-test.c
+++ b/examples/expose-test.c
@@ -167,4 +167,6 @@ main (int argc, char **argv)
gtk_container_add (GTK_CONTAINER (window), table);
gtk_widget_show_all (window);
gtk_main ();
+
+ return 0;
}
diff --git a/examples/gtk-clutter-standin-test.c b/examples/gtk-clutter-standin-test.c
index e1797d4..620de01 100644
--- a/examples/gtk-clutter-standin-test.c
+++ b/examples/gtk-clutter-standin-test.c
@@ -61,4 +61,6 @@ main (int argc, char **argv)
G_CALLBACK (gtk_main_quit), NULL);
gtk_main ();
+
+ return 0;
}
diff --git a/examples/gtk-clutter-window-test.c b/examples/gtk-clutter-window-test.c
index daeec31..d2d8743 100644
--- a/examples/gtk-clutter-window-test.c
+++ b/examples/gtk-clutter-window-test.c
@@ -115,4 +115,6 @@ main (int argc, char **argv)
gtk_widget_show_all (window);
gtk_main ();
+
+ return 0;
}
diff --git a/examples/gtk-clutter-window-test2.c b/examples/gtk-clutter-window-test2.c
index 341f8d7..06f8c64 100644
--- a/examples/gtk-clutter-window-test2.c
+++ b/examples/gtk-clutter-window-test2.c
@@ -144,4 +144,6 @@ main (int argc, char **argv)
G_CALLBACK (gtk_main_quit), NULL);
gtk_main ();
+
+ return 0;
}
diff --git a/examples/refcounting-test.c b/examples/refcounting-test.c
index 25d9e50..f371880 100644
--- a/examples/refcounting-test.c
+++ b/examples/refcounting-test.c
@@ -11,8 +11,6 @@
#include <math.h>
-static gulong CLUTTER_COS_SQUARED = CLUTTER_ANIMATION_LAST;
-
static ClutterActor *container = NULL;
static ClutterActor *actor = NULL;
static GtkWidget *bin = NULL;
@@ -89,4 +87,6 @@ main (int argc, char **argv)
gtk_widget_show_all (window);
gtk_main ();
+
+ return 0;
}
diff --git a/examples/reparenting-test.c b/examples/reparenting-test.c
index 06a3e18..d8e87bd 100644
--- a/examples/reparenting-test.c
+++ b/examples/reparenting-test.c
@@ -121,4 +121,6 @@ main (int argc, char **argv)
gtk_widget_show_all (window);
gtk_main ();
+
+ return 0;
}
diff --git a/examples/stacked-standins.c b/examples/stacked-standins.c
index 195281a..a16c6af 100644
--- a/examples/stacked-standins.c
+++ b/examples/stacked-standins.c
@@ -149,4 +149,6 @@ main (int argc, char **argv)
gtk_widget_show_all (window);
g_print (" --- main ---\n");
gtk_main ();
+
+ return 0;
}
diff --git a/examples/test-scrolling.c b/examples/test-scrolling.c
index b09036c..f5af854 100644
--- a/examples/test-scrolling.c
+++ b/examples/test-scrolling.c
@@ -49,4 +49,6 @@ main (int argc, char **argv)
gtk_widget_show_all (window);
gtk_main ();
+
+ return 0;
}