mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-23 00:36:51 +00:00
fixes for last checkin
Original commit message from CVS: fixes for last checkin
This commit is contained in:
parent
d8d3d9fff1
commit
aa7c0f2116
2 changed files with 9 additions and 2 deletions
|
@ -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;
|
||||
|
|
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue