[mutter] compositor: Fix ClutterTimeline usage



commit 660eceb61a9ce38322e3f2146f5b41dc6facfa59
Author: Rui Matos <tiagomatos gmail com>
Date:   Mon Mar 4 00:17:17 2013 +0100

    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 files changed, 2 insertions(+), 1 deletions(-)
---
diff --git a/src/compositor/compositor.c b/src/compositor/compositor.c
index 3758a5e..fb682ed 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);


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]