mirror of
https://github.com/brl/mutter.git
synced 2024-12-03 05:10:40 -05:00
* tests/test-grab.c: (main): fix use of clutter_actor_set_reactive
This commit is contained in:
parent
108461c6b9
commit
8339cf3fce
@ -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,
|
||||||
|
@ -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");
|
||||||
|
Loading…
Reference in New Issue
Block a user