diff --git a/ChangeLog b/ChangeLog index 665e12b39..c4f4efea4 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,10 @@ +2007-09-28 Øyvind Kolås + + * clutter/glx/clutter-stage-glx.c: (clutter_stage_glx_realize): + removed unused variable perspective. + * tests/test-events.c: (main): added CLUTTER_STAGE() cast. + * tests/test-threads.c: include unistd.h for sleep(). + 2007-09-28 Øyvind Kolås * clutter/clutter-label.c: (clutter_label_ensure_layout): avoid diff --git a/clutter/glx/clutter-stage-glx.c b/clutter/glx/clutter-stage-glx.c index cdc2aebbc..119254fbc 100644 --- a/clutter/glx/clutter-stage-glx.c +++ b/clutter/glx/clutter-stage-glx.c @@ -207,7 +207,6 @@ clutter_stage_glx_realize (ClutterActor *actor) { ClutterStageGLX *stage_glx = CLUTTER_STAGE_GLX (actor); gboolean is_offscreen; - ClutterPerspective perspective; CLUTTER_NOTE (MISC, "Realizing main stage"); diff --git a/tests/test-events.c b/tests/test-events.c index e56b3464a..2d87bcecb 100644 --- a/tests/test-events.c +++ b/tests/test-events.c @@ -154,7 +154,7 @@ main (int argc, char *argv[]) g_signal_connect (actor, "focus-in", G_CALLBACK (key_focus_in_cb), focus_box); - clutter_stage_set_key_focus (stage, actor); + clutter_stage_set_key_focus (CLUTTER_STAGE (stage), actor); actor = clutter_rectangle_new_with_color (&gcol); clutter_actor_set_size (actor, 100, 100); diff --git a/tests/test-threads.c b/tests/test-threads.c index 20bee9908..518a0f654 100644 --- a/tests/test-threads.c +++ b/tests/test-threads.c @@ -1,5 +1,6 @@ #include #include +#include /* sleep() */ #include typedef struct