summaryrefslogtreecommitdiff
path: root/examples
diff options
context:
space:
mode:
authorEmmanuele Bassi <ebassi@linux.intel.com>2009-04-14 17:13:02 +0100
committerEmmanuele Bassi <ebassi@linux.intel.com>2009-04-14 17:13:02 +0100
commit87ff77386cc502a0beed6bd1e1398c449e607e9f (patch)
tree54f24f558d71b854b395adfd35774e9c14860175 /examples
parent19f16f1c112e3aa1eb12eb764feb821c97bc9e1c (diff)
downloadclutter-gtk-87ff77386cc502a0beed6bd1e1398c449e607e9f.tar.gz
[tests] Remove compiler warnings
The tests have some unused variables that will make gcc whine.
Diffstat (limited to 'examples')
-rw-r--r--examples/gtk-clutter-multistage.c6
-rw-r--r--examples/gtk-clutter-test.c2
-rw-r--r--examples/gtk-clutter-viewport.c3
3 files changed, 2 insertions, 9 deletions
diff --git a/examples/gtk-clutter-multistage.c b/examples/gtk-clutter-multistage.c
index e97da88..95058a7 100644
--- a/examples/gtk-clutter-multistage.c
+++ b/examples/gtk-clutter-multistage.c
@@ -6,13 +6,9 @@
int
main (int argc, char *argv[])
{
- ClutterTimeline *timeline;
ClutterActor *stage1, *stage2, *tex1, *tex2;
- ClutterColor stage_color = { 0x61, 0x64, 0x8c, 0xff };
GtkWidget *window, *clutter1, *clutter2;
- GtkWidget *label, *button, *vbox;
- GdkPixbuf *pixbuf;
- gint i;
+ GtkWidget *vbox;
ClutterColor col1 = { 0xff, 0xff, 0xff, 0xff };
ClutterColor col2 = { 0, 0, 0, 0xff };
diff --git a/examples/gtk-clutter-test.c b/examples/gtk-clutter-test.c
index 48f44eb..5b7f025 100644
--- a/examples/gtk-clutter-test.c
+++ b/examples/gtk-clutter-test.c
@@ -125,7 +125,7 @@ main (int argc, char *argv[])
ClutterTimeline *timeline;
ClutterActor *stage;
ClutterColor stage_color = { 0x61, 0x64, 0x8c, 0xff };
- GtkWidget *window, *clutter, *socket_box;
+ GtkWidget *window, *clutter;
GtkWidget *label, *button, *vbox;
GdkPixbuf *pixbuf;
SuperOH *oh;
diff --git a/examples/gtk-clutter-viewport.c b/examples/gtk-clutter-viewport.c
index 70a8df6..0125b41 100644
--- a/examples/gtk-clutter-viewport.c
+++ b/examples/gtk-clutter-viewport.c
@@ -19,14 +19,11 @@ on_load_finished (ClutterTexture *texture,
int
main (int argc, char *argv[])
{
- ClutterTimeline *timeline;
ClutterActor *stage, *viewport, *tex;
ClutterColor stage_color = { 0x61, 0x64, 0x8c, 0xff };
GtkWidget *window, *embed;
GtkWidget *table, *scrollbar;
GtkAdjustment *h_adjustment, *v_adjustment;
- gint i;
- ClutterColor col2 = { 0, };
g_thread_init (NULL);
gdk_threads_init ();