plugin: remove gst_plugin_get_module()
authorTim-Philipp Müller <tim.muller@collabora.co.uk>
Sun, 29 Apr 2012 15:46:55 +0000 (16:46 +0100)
committerTim-Philipp Müller <tim.muller@collabora.co.uk>
Sun, 29 Apr 2012 15:46:55 +0000 (16:46 +0100)
This is an implementation detail really, and it's not
clear what anyone would do with this. It's unused as
far as I'm aware, so just remove it for now.

docs/gst/gstreamer-sections.txt
gst/gstplugin.c
gst/gstplugin.h
win32/common/libgstreamer.def

index 152dcc9..c0480b7 100644 (file)
@@ -1995,7 +1995,6 @@ gst_plugin_get_origin
 gst_plugin_get_source
 gst_plugin_get_version
 gst_plugin_get_release_date_string
-gst_plugin_get_module
 gst_plugin_is_loaded
 gst_plugin_get_cache_data
 gst_plugin_set_cache_data
index 625022b..7fa2582 100644 (file)
@@ -1016,24 +1016,6 @@ gst_plugin_get_release_date_string (GstPlugin * plugin)
 }
 
 /**
- * gst_plugin_get_module:
- * @plugin: plugin to query
- *
- * Gets the #GModule of the plugin. If the plugin isn't loaded yet, NULL is
- * returned.
- *
- * Returns: (transfer none): module belonging to the plugin or NULL if the
- *          plugin isn't loaded yet.
- */
-GModule *
-gst_plugin_get_module (GstPlugin * plugin)
-{
-  g_return_val_if_fail (plugin != NULL, NULL);
-
-  return plugin->module;
-}
-
-/**
  * gst_plugin_is_loaded:
  * @plugin: plugin to query
  *
index f4aa55e..199ec58 100644 (file)
@@ -333,7 +333,6 @@ const gchar*                gst_plugin_get_release_date_string (GstPlugin *plugin);
 const GstStructure*    gst_plugin_get_cache_data       (GstPlugin * plugin);
 void                   gst_plugin_set_cache_data       (GstPlugin * plugin, GstStructure *cache_data);
 
-GModule *              gst_plugin_get_module           (GstPlugin *plugin);
 gboolean               gst_plugin_is_loaded            (GstPlugin *plugin);
 
 gboolean               gst_plugin_name_filter          (GstPlugin *plugin, const gchar *name);
index 5a6c419..9981e5b 100644 (file)
@@ -761,7 +761,6 @@ EXPORTS
        gst_plugin_get_description
        gst_plugin_get_filename
        gst_plugin_get_license
-       gst_plugin_get_module
        gst_plugin_get_name
        gst_plugin_get_origin
        gst_plugin_get_package