/soc/2013/ankitkv/gobjectification: 981074eafe17: Removed get_de...

Ankit Vani a at nevitus.org
Sat Aug 10 17:40:18 EDT 2013


Changeset: 981074eafe17e2dc7fe2ecfe0c31e066cb33376c
Author:	 Ankit Vani <a at nevitus.org>
Date:	 2013-08-11 03:09 +0530
Branch:	 soc.2013.gobjectification.plugins
URL: https://hg.pidgin.im/soc/2013/ankitkv/gobjectification/rev/981074eafe17

Description:

Removed get_dependencies from the API. I don't suppose we should ever be needing this.

diffstat:

 libpurple/plugins.c |  13 -------------
 libpurple/plugins.h |   9 ---------
 2 files changed, 0 insertions(+), 22 deletions(-)

diffs (42 lines):

diff --git a/libpurple/plugins.c b/libpurple/plugins.c
--- a/libpurple/plugins.c
+++ b/libpurple/plugins.c
@@ -680,19 +680,6 @@ purple_plugin_info_get_abi_version(const
 	return priv->purple_abi;
 }
 
-GSList *
-purple_plugin_info_get_dependencies(const PurplePluginInfo *info)
-{
-#ifdef PURPLE_PLUGINS
-	g_return_val_if_fail(info != NULL, NULL);
-
-	return gplugin_plugin_info_get_dependencies(GPLUGIN_PLUGIN_INFO(info));
-
-#else
-	return NULL;
-#endif
-}
-
 PurplePluginGetActionsCallback
 purple_plugin_info_get_actions_callback(const PurplePluginInfo *info)
 {
diff --git a/libpurple/plugins.h b/libpurple/plugins.h
--- a/libpurple/plugins.h
+++ b/libpurple/plugins.h
@@ -520,15 +520,6 @@ const gchar *purple_plugin_info_get_lice
 guint32 purple_plugin_info_get_abi_version(const PurplePluginInfo *info);
 
 /**
- * Returns a list of plugins that a particular plugin depends on.
- *
- * @param info The plugin's info instance.
- *
- * @constreturn The list of dependencies of a plugin.
- */
-GSList *purple_plugin_info_get_dependencies(const PurplePluginInfo *info);
-
-/**
  * Returns the callback that retrieves the list of actions a plugin can perform
  * at that moment.
  *



More information about the Commits mailing list