But you can't use G_TYPE_BOXED in a signal. Changing to G_TYPE_POINTER until code...
authorDavid Schleef <ds@schleef.org>
Thu, 24 Jul 2003 08:59:05 +0000 (08:59 +0000)
committerDavid Schleef <ds@schleef.org>
Thu, 24 Jul 2003 08:59:05 +0000 (08:59 +0000)
Original commit message from CVS:
But you can't use G_TYPE_BOXED in a signal.  Changing to G_TYPE_POINTER
until code is added to register a type for GstCaps.

gst/gsttypefind.c

index 39dee63..11768ef 100644 (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_BOXED);
+                     G_TYPE_POINTER);
 
   gobject_class->set_property = GST_DEBUG_FUNCPTR (gst_type_find_set_property);
   gobject_class->get_property = GST_DEBUG_FUNCPTR (gst_type_find_get_property);