compositor: Fix ClutterTimeline usage

Use the correct 'stopped' signal name and callback signature.

https://bugzilla.gnome.org/show_bug.cgi?id=695093
This commit is contained in:
Rui Matos 2013-03-04 00:17:17 +01:00
parent d395d75e26
commit 660eceb61a

View File

@ -1482,6 +1482,7 @@ meta_enable_unredirect_for_screen (MetaScreen *screen)
static void
flash_out_completed (ClutterTimeline *timeline,
gboolean is_finished,
gpointer user_data)
{
ClutterActor *flash = CLUTTER_ACTOR (user_data);
@ -1515,7 +1516,7 @@ meta_compositor_flash_screen (MetaCompositor *compositor,
clutter_timeline_set_auto_reverse (CLUTTER_TIMELINE (transition), TRUE);
clutter_timeline_set_repeat_count (CLUTTER_TIMELINE (transition), 2);
g_signal_connect (transition, "finished",
g_signal_connect (transition, "stopped",
G_CALLBACK (flash_out_completed), flash);
clutter_actor_restore_easing_state (flash);