2007-09-28 Øyvind Kolås <pippin@openedhand.com>

* 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().
This commit is contained in:
Øyvind Kolås 2007-09-28 11:03:21 +00:00
parent f7a426587c
commit 99c97b3337
4 changed files with 9 additions and 2 deletions

View File

@ -1,3 +1,10 @@
2007-09-28 Øyvind Kolås <pippin@openedhand.com>
* 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 <pippin@openedhand.com> 2007-09-28 Øyvind Kolås <pippin@openedhand.com>
* clutter/clutter-label.c: (clutter_label_ensure_layout): avoid * clutter/clutter-label.c: (clutter_label_ensure_layout): avoid

View File

@ -207,7 +207,6 @@ clutter_stage_glx_realize (ClutterActor *actor)
{ {
ClutterStageGLX *stage_glx = CLUTTER_STAGE_GLX (actor); ClutterStageGLX *stage_glx = CLUTTER_STAGE_GLX (actor);
gboolean is_offscreen; gboolean is_offscreen;
ClutterPerspective perspective;
CLUTTER_NOTE (MISC, "Realizing main stage"); CLUTTER_NOTE (MISC, "Realizing main stage");

View File

@ -154,7 +154,7 @@ main (int argc, char *argv[])
g_signal_connect (actor, "focus-in", G_CALLBACK (key_focus_in_cb), g_signal_connect (actor, "focus-in", G_CALLBACK (key_focus_in_cb),
focus_box); 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); actor = clutter_rectangle_new_with_color (&gcol);
clutter_actor_set_size (actor, 100, 100); clutter_actor_set_size (actor, 100, 100);

View File

@ -1,5 +1,6 @@
#include <stdio.h> #include <stdio.h>
#include <stdlib.h> #include <stdlib.h>
#include <unistd.h> /* sleep() */
#include <clutter/clutter.h> #include <clutter/clutter.h>
typedef struct typedef struct