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.
This commit is contained in:
parent
65d6c8c32e
commit
4732a418ba
@ -836,7 +836,7 @@ clutter_timeline_class_init (ClutterTimelineClass *klass)
|
|||||||
g_signal_new (I_("stopped"),
|
g_signal_new (I_("stopped"),
|
||||||
G_TYPE_FROM_CLASS (object_class),
|
G_TYPE_FROM_CLASS (object_class),
|
||||||
G_SIGNAL_RUN_LAST,
|
G_SIGNAL_RUN_LAST,
|
||||||
G_STRUCT_OFFSET (ClutterTimelineClass, completed),
|
G_STRUCT_OFFSET (ClutterTimelineClass, stopped),
|
||||||
NULL, NULL,
|
NULL, NULL,
|
||||||
_clutter_marshal_VOID__BOOLEAN,
|
_clutter_marshal_VOID__BOOLEAN,
|
||||||
G_TYPE_NONE, 1,
|
G_TYPE_NONE, 1,
|
||||||
|
Loading…
Reference in New Issue
Block a user