Make the type G_TYPE_POINTER instead of GST_TYPE_PLUGIN. Fixes a crash in gst-register
authorIain Holmes <iain@prettypeople.org>
Fri, 14 Nov 2003 15:54:47 +0000 (15:54 +0000)
committerIain Holmes <iain@prettypeople.org>
Fri, 14 Nov 2003 15:54:47 +0000 (15:54 +0000)
Original commit message from CVS:
Make the type G_TYPE_POINTER instead of GST_TYPE_PLUGIN. Fixes a crash in gst-register

gst/gstregistry.c

index 3632a11..df0f856 100644 (file)
@@ -85,7 +85,7 @@ gst_registry_class_init (GstRegistryClass *klass)
     g_signal_new ("plugin_added", G_TYPE_FROM_CLASS (klass), G_SIGNAL_RUN_LAST,
                   G_STRUCT_OFFSET (GstRegistryClass, plugin_added), NULL, NULL,
                   gst_marshal_VOID__POINTER, G_TYPE_NONE, 1,
-                  GST_TYPE_PLUGIN);
+                  G_TYPE_POINTER);
 
   gobject_class->dispose = NULL;
 }