From 2ebe36cf0834ba6eca511a349aca95aa3777f87b Mon Sep 17 00:00:00 2001 From: Emmanuele Bassi Date: Mon, 8 Jun 2009 10:58:20 +0100 Subject: [PATCH] [tests] The ::focus-in signal was renamed ::key-focus-in The test-events interactive test is still using the old name. --- tests/interactive/test-events.c | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/tests/interactive/test-events.c b/tests/interactive/test-events.c index 010594ea8..1112e703c 100644 --- a/tests/interactive/test-events.c +++ b/tests/interactive/test-events.c @@ -230,7 +230,7 @@ test_events_main (int argc, char *argv[]) clutter_container_add (CLUTTER_CONTAINER (stage), actor, NULL); g_signal_connect (actor, "event", G_CALLBACK (input_cb), "red box"); - g_signal_connect (actor, "focus-in", G_CALLBACK (key_focus_in_cb), + g_signal_connect (actor, "key-focus-in", G_CALLBACK (key_focus_in_cb), focus_box); /* Toggle motion - enter/leave capture */ @@ -248,7 +248,7 @@ test_events_main (int argc, char *argv[]) clutter_container_add (CLUTTER_CONTAINER (stage), actor, NULL); g_signal_connect (actor, "event", G_CALLBACK (input_cb), "green box"); - g_signal_connect (actor, "focus-in", G_CALLBACK (key_focus_in_cb), + g_signal_connect (actor, "key-focus-in", G_CALLBACK (key_focus_in_cb), focus_box); g_signal_connect (actor, "captured-event", G_CALLBACK (capture_cb), NULL); @@ -262,7 +262,7 @@ test_events_main (int argc, char *argv[]) clutter_container_add (CLUTTER_CONTAINER(stage), actor, NULL); g_signal_connect (actor, "event", G_CALLBACK (input_cb), "blue box"); - g_signal_connect (actor, "focus-in", G_CALLBACK (key_focus_in_cb), + g_signal_connect (actor, "key-focus-in", G_CALLBACK (key_focus_in_cb), focus_box); /* Fullscreen */ g_signal_connect (actor, "button-press-event", @@ -276,10 +276,10 @@ test_events_main (int argc, char *argv[]) clutter_container_add (CLUTTER_CONTAINER(stage), actor, NULL); g_signal_connect (actor, "event", G_CALLBACK (input_cb), "blue box"); - g_signal_connect (actor, "focus-in", G_CALLBACK (key_focus_in_cb), + g_signal_connect (actor, "key-focus-in", G_CALLBACK (key_focus_in_cb), focus_box); - g_signal_connect (stage, "focus-in", G_CALLBACK (key_focus_in_cb), + g_signal_connect (stage, "key-focus-in", G_CALLBACK (key_focus_in_cb), focus_box); /* non reactive group, with reactive child */