fixes for last checkin

Original commit message from CVS:
fixes for last checkin
This commit is contained in:
David Schleef 2003-11-13 03:29:33 +00:00
parent d8d3d9fff1
commit aa7c0f2116
2 changed files with 9 additions and 2 deletions

View file

@ -64,13 +64,20 @@ static GstPlugin * gst_plugin_register_func (GstPlugin *plugin,
GModule *module,
GstPluginDesc *desc);
static GstPlugin *
gst_plugin_copy (GstPlugin *plugin)
{
return plugin;
}
GType
gst_plugin_get_type (void)
{
static GType plugin_type;
if (plugin_type == 0) {
plugin_type = g_boxed_type_register_static ("GstPlugin", NULL, g_free);
plugin_type = g_boxed_type_register_static ("GstPlugin",
(GBoxedCopyFunc) gst_plugin_copy, g_free);
}
return plugin_type;

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_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;
}