summaryrefslogtreecommitdiff
path: root/gst/gstchildproxy.c
diff options
context:
space:
mode:
Diffstat (limited to 'gst/gstchildproxy.c')
-rw-r--r--gst/gstchildproxy.c13
1 files changed, 4 insertions, 9 deletions
diff --git a/gst/gstchildproxy.c b/gst/gstchildproxy.c
index 5607b4986f..2ff3684485 100644
--- a/gst/gstchildproxy.c
+++ b/gst/gstchildproxy.c
@@ -49,7 +49,6 @@
#include "gst_private.h"
#include "gstchildproxy.h"
-#include "gstmarshal.h"
#include <gobject/gvaluecollector.h>
/* signals */
@@ -482,13 +481,11 @@ gst_child_proxy_base_init (gpointer g_class)
*
* Will be emitted after the @object was added to the @child_proxy.
*/
- /* FIXME 0.11: use GST_TYPE_OBJECT as GstChildProxy only
- * supports GstObjects */
signals[CHILD_ADDED] =
g_signal_new ("child-added", G_TYPE_FROM_CLASS (g_class),
G_SIGNAL_RUN_FIRST, G_STRUCT_OFFSET (GstChildProxyInterface,
- child_added), NULL, NULL, gst_marshal_VOID__OBJECT, G_TYPE_NONE, 1,
- G_TYPE_OBJECT);
+ child_added), NULL, NULL, g_cclosure_marshal_generic, G_TYPE_NONE,
+ 1, GST_TYPE_OBJECT);
/**
* GstChildProxy::child-removed:
@@ -497,13 +494,11 @@ gst_child_proxy_base_init (gpointer g_class)
*
* Will be emitted after the @object was removed from the @child_proxy.
*/
- /* FIXME 0.11: use GST_TYPE_OBJECT as GstChildProxy only
- * supports GstObjects */
signals[CHILD_REMOVED] =
g_signal_new ("child-removed", G_TYPE_FROM_CLASS (g_class),
G_SIGNAL_RUN_FIRST, G_STRUCT_OFFSET (GstChildProxyInterface,
- child_removed), NULL, NULL, gst_marshal_VOID__OBJECT, G_TYPE_NONE,
- 1, G_TYPE_OBJECT);
+ child_removed), NULL, NULL, g_cclosure_marshal_generic, G_TYPE_NONE,
+ 1, GST_TYPE_OBJECT);
initialized = TRUE;
}