nlecomposition: fix wrong argument order of GClosureNotify
authorJustin Kim <justin.kim@collabora.com>
Fri, 2 Oct 2015 14:49:31 +0000 (16:49 +0200)
committerThibault Saunier <tsaunier@gnome.org>
Fri, 2 Oct 2015 14:49:31 +0000 (16:49 +0200)
Summary:
_free_action should follow GClosureNotify type.

```
void
(*GClosureNotify) (gpointer data,
                   GClosure *closure);
```

Reviewers: thiblahute

Projects: #gstreamer_editing_services

Reviewed By: thiblahute

Differential Revision: https://phabricator.freedesktop.org/D323

plugins/nle/nlecomposition.c

index e204501..08d28ae 100644 (file)
@@ -737,7 +737,7 @@ _add_add_object_action (NleComposition * comp, NleObject * object)
 }
 
 static void
-_free_action (Action * action, gpointer udata)
+_free_action (gpointer udata, Action * action)
 {
   if (ACTION_CALLBACK (action) == _seek_pipeline_func) {
     SeekData *seekd = (SeekData *) udata;