* tests/test-grab.c: (main): fix use of clutter_actor_set_reactive

This commit is contained in:
Øyvind Kolås 2007-11-16 13:40:43 +00:00
parent 108461c6b9
commit 8339cf3fce
2 changed files with 5 additions and 1 deletions

View File

@ -1,3 +1,7 @@
2007-11-16 Øyvind Kolås <pippin@gimp.org>
* tests/test-grab.c: (main): fix use of clutter_actor_set_reactive
2007-11-15 Øyvind Kolås <pippin@o-hand.com> 2007-11-15 Øyvind Kolås <pippin@o-hand.com>
* clutter/clutter-main.[ch]: added clutter_grab_keyboard, * clutter/clutter-main.[ch]: added clutter_grab_keyboard,

View File

@ -220,7 +220,7 @@ main (int argc, char *argv[])
actor = clutter_rectangle_new_with_color (&ccol); actor = clutter_rectangle_new_with_color (&ccol);
clutter_actor_set_size (actor, 100, 100); clutter_actor_set_size (actor, 100, 100);
clutter_actor_set_position (actor, 500, 100); clutter_actor_set_position (actor, 500, 100);
clutter_actor_set_reactive (actor); clutter_actor_set_reactive (actor, TRUE);
clutter_container_add (CLUTTER_CONTAINER (stage), actor, NULL); clutter_container_add (CLUTTER_CONTAINER (stage), actor, NULL);
g_signal_connect (actor, "event", g_signal_connect (actor, "event",
G_CALLBACK (debug_event_cb), "cyan box"); G_CALLBACK (debug_event_cb), "cyan box");