[clutter/clutter-1.14] timeline: Use the right function pointer offset



commit 8700b19e6fe88e35723effb254e9769cf1776b8f
Author: Emmanuele Bassi <ebassi gnome org>
Date:   Tue Mar 5 00:46:45 2013 +0000

    timeline: Use the right function pointer offset
    
    A copy and paste thinko: the ::stopped signal is using the
    ClutterTimelineClass.completed slot instead of the .stopped one,
    thus preventing sub-classes of ClutterTimeline from overriding the
    signal's default closure.

 clutter/clutter-timeline.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/clutter/clutter-timeline.c b/clutter/clutter-timeline.c
index 7fe8f5f..513d82e 100644
--- a/clutter/clutter-timeline.c
+++ b/clutter/clutter-timeline.c
@@ -836,7 +836,7 @@ clutter_timeline_class_init (ClutterTimelineClass *klass)
     g_signal_new (I_("stopped"),
                  G_TYPE_FROM_CLASS (object_class),
                  G_SIGNAL_RUN_LAST,
-                 G_STRUCT_OFFSET (ClutterTimelineClass, completed),
+                 G_STRUCT_OFFSET (ClutterTimelineClass, stopped),
                  NULL, NULL,
                  _clutter_marshal_VOID__BOOLEAN,
                  G_TYPE_NONE, 1,


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