From fa08c5c11cb0847da89f2ada88720c4adcdd2fd3 Mon Sep 17 00:00:00 2001 From: "David I. Lehn" Date: Sun, 24 Mar 2002 11:32:03 +0000 Subject: [PATCH] s/POINTER/OBJECT/ in g_signal_new for NEW_PAD and PAD_REMOVED. Original commit message from CVS: s/POINTER/OBJECT/ in g_signal_new for NEW_PAD and PAD_REMOVED. Very important for python bindings to know it's getting an GObject vs a boxed anonymous pointer. --- gst/gstelement.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/gst/gstelement.c b/gst/gstelement.c index cc25b55268..97988988bf 100644 --- a/gst/gstelement.c +++ b/gst/gstelement.c @@ -112,13 +112,13 @@ gst_element_class_init (GstElementClass *klass) gst_element_signals[NEW_PAD] = g_signal_new ("new_pad", G_TYPE_FROM_CLASS (klass), G_SIGNAL_RUN_LAST, G_STRUCT_OFFSET (GstElementClass, new_pad), NULL, NULL, - gst_marshal_VOID__POINTER, G_TYPE_NONE, 1, - G_TYPE_POINTER); + gst_marshal_VOID__OBJECT, G_TYPE_NONE, 1, + G_TYPE_OBJECT); gst_element_signals[PAD_REMOVED] = g_signal_new ("pad_removed", G_TYPE_FROM_CLASS (klass), G_SIGNAL_RUN_LAST, G_STRUCT_OFFSET (GstElementClass, pad_removed), NULL, NULL, - gst_marshal_VOID__POINTER, G_TYPE_NONE, 1, - G_TYPE_POINTER); + gst_marshal_VOID__OBJECT, G_TYPE_NONE, 1, + G_TYPE_OBJECT); gst_element_signals[ERROR] = g_signal_new ("error", G_TYPE_FROM_CLASS (klass), G_SIGNAL_RUN_LAST, G_STRUCT_OFFSET (GstElementClass, error), NULL, NULL,