Fix type definition bug plus missing argument for callback

Original commit message from CVS:
Fix type definition bug plus missing argument for callback
This commit is contained in:
Ronald S. Bultje 2003-05-26 06:15:27 +00:00
parent a4df733d52
commit 12d80b1964
3 changed files with 4 additions and 3 deletions

2
common

@ -1 +1 @@
Subproject commit 54aa761f9d486bca3ee35029a110386a144340c5
Subproject commit 9a3a505fcc52865de0bedbb3ee1ce0a6dcc9a025

View file

@ -116,7 +116,7 @@ gst_type_find_class_init (GstTypeFindClass *klass)
g_signal_new ("have_type", G_TYPE_FROM_CLASS (klass), G_SIGNAL_RUN_LAST,
G_STRUCT_OFFSET (GstTypeFindClass, have_type), NULL, NULL,
g_cclosure_marshal_VOID__POINTER, G_TYPE_NONE, 1,
G_TYPE_POINTER);
G_TYPE_OBJECT);
gobject_class->set_property = GST_DEBUG_FUNCPTR (gst_type_find_set_property);
gobject_class->get_property = GST_DEBUG_FUNCPTR (gst_type_find_get_property);

View file

@ -57,7 +57,8 @@ struct _GstTypeFindClass {
GstElementClass parent_class;
/* signals */
void (*have_type) (GstElement *element);
void (*have_type) (GstElement *element,
GstCaps *caps);
};
GType gst_type_find_get_type (void);