Make the type G_TYPE_POINTER instead of GST_TYPE_PLUGIN. Fixes a crash in gst-register

Original commit message from CVS:
Make the type G_TYPE_POINTER instead of GST_TYPE_PLUGIN. Fixes a crash in gst-register
This commit is contained in:
Iain Holmes 2003-11-14 15:54:47 +00:00
parent e6a028dc63
commit 34888f9abe

View 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_signal_new ("plugin_added", G_TYPE_FROM_CLASS (klass), G_SIGNAL_RUN_LAST,
G_STRUCT_OFFSET (GstRegistryClass, plugin_added), NULL, NULL, G_STRUCT_OFFSET (GstRegistryClass, plugin_added), NULL, NULL,
gst_marshal_VOID__POINTER, G_TYPE_NONE, 1, gst_marshal_VOID__POINTER, G_TYPE_NONE, 1,
GST_TYPE_PLUGIN); G_TYPE_POINTER);
gobject_class->dispose = NULL; gobject_class->dispose = NULL;
} }