From 660eceb61a9ce38322e3f2146f5b41dc6facfa59 Mon Sep 17 00:00:00 2001 From: Rui Matos Date: Mon, 4 Mar 2013 00:17:17 +0100 Subject: [PATCH] compositor: Fix ClutterTimeline usage Use the correct 'stopped' signal name and callback signature. https://bugzilla.gnome.org/show_bug.cgi?id=695093 --- src/compositor/compositor.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/compositor/compositor.c b/src/compositor/compositor.c index 3758a5e1e..fb682ed5f 100644 --- a/src/compositor/compositor.c +++ b/src/compositor/compositor.c @@ -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);