summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEmmanuele Bassi <ebassi@gnome.org>2013-03-05 00:46:45 +0000
committerEmmanuele Bassi <ebassi@gnome.org>2013-03-05 00:46:45 +0000
commit4732a418ba110872d26801e9af3269f1211f2ee8 (patch)
tree79c13283d4877916df1ce11baf38e632bc4d3658
parent65d6c8c32ee23a34f8fbe1fbb76dd4faf0e28d0c (diff)
downloadclutter-4732a418ba110872d26801e9af3269f1211f2ee8.tar.gz
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.
-rw-r--r--clutter/clutter-timeline.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/clutter/clutter-timeline.c b/clutter/clutter-timeline.c
index 7fe8f5f58..513d82e56 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,