diff options
author | Richard Hughes <richard@hughsie.com> | 2015-08-04 09:15:57 +0100 |
---|---|---|
committer | Richard Hughes <richard@hughsie.com> | 2015-08-04 09:15:57 +0100 |
commit | 1e8e00567a608f28736d86acca6f8d5b6a199d4b (patch) | |
tree | 5bd524911a92eb50dc52a25c0bce3598ac2a8810 | |
parent | 5e6536f796294ca6d327bf7e72017c748876e8e6 (diff) | |
download | appstream-glib-1e8e00567a608f28736d86acca6f8d5b6a199d4b.tar.gz |
trivial: Remove the unused asb_plugin_set_enabled()
-rw-r--r-- | libappstream-builder/asb-plugin.c | 15 | ||||
-rw-r--r-- | libappstream-builder/asb-plugin.h | 2 |
2 files changed, 0 insertions, 17 deletions
diff --git a/libappstream-builder/asb-plugin.c b/libappstream-builder/asb-plugin.c index 3e9f46c..a8654f7 100644 --- a/libappstream-builder/asb-plugin.c +++ b/libappstream-builder/asb-plugin.c @@ -36,21 +36,6 @@ #include "asb-utils.h" /** - * asb_plugin_set_enabled: - * @plugin: A #AsbPlugin - * @enabled: boolean - * - * Enables or disables a plugin. - * - * Since: 0.1.0 - **/ -void -asb_plugin_set_enabled (AsbPlugin *plugin, gboolean enabled) -{ - plugin->enabled = enabled; -} - -/** * asb_plugin_process: * @plugin: A #AsbPlugin * @pkg: A #AsbPackage diff --git a/libappstream-builder/asb-plugin.h b/libappstream-builder/asb-plugin.h index 56b0695..c647fb1 100644 --- a/libappstream-builder/asb-plugin.h +++ b/libappstream-builder/asb-plugin.h @@ -80,8 +80,6 @@ typedef gboolean (*AsbPluginProcessAppFunc) (AsbPlugin *plugin, const gchar *asb_plugin_get_name (void); void asb_plugin_initialize (AsbPlugin *plugin); void asb_plugin_destroy (AsbPlugin *plugin); -void asb_plugin_set_enabled (AsbPlugin *plugin, - gboolean enabled); GList *asb_plugin_process (AsbPlugin *plugin, AsbPackage *pkg, const gchar *tmpdir, |