Add some 0.11 FIXMEs for GstPluginInitFunc

See 8fe63000de for why having a TRUE/FALSE
return value is a bad idea.
I've scanned a few plugins and they generally get it wrong and aren't
unloadable when they return FALSE.
This commit is contained in:
Benjamin Otte 2010-03-13 11:03:59 +01:00
parent 28c66fcd64
commit 7c1d33a8a3

View file

@ -116,6 +116,7 @@ typedef enum {
* *
* Returns: %TRUE if plugin initialised successfully * Returns: %TRUE if plugin initialised successfully
*/ */
/* FIXME 0.11: Make return void */
typedef gboolean (*GstPluginInitFunc) (GstPlugin *plugin); typedef gboolean (*GstPluginInitFunc) (GstPlugin *plugin);
/** /**
@ -134,6 +135,7 @@ typedef gboolean (*GstPluginInitFunc) (GstPlugin *plugin);
* Since: 0.10.24 * Since: 0.10.24
* *
*/ */
/* FIXME 0.11: Merge with GstPluginInitFunc */
typedef gboolean (*GstPluginInitFullFunc) (GstPlugin *plugin, gpointer user_data); typedef gboolean (*GstPluginInitFullFunc) (GstPlugin *plugin, gpointer user_data);
/** /**