/soc/2013/ankitkv/gobjectification: 3c1e83926b66: purple_plugin_...
Ankit Vani
a at nevitus.org
Sun Aug 11 08:21:46 EDT 2013
Changeset: 3c1e83926b66ac8a6868dcf5ad3671eec12b882a
Author: Ankit Vani <a at nevitus.org>
Date: 2013-08-11 17:51 +0530
Branch: soc.2013.gobjectification.plugins
URL: https://hg.pidgin.im/soc/2013/ankitkv/gobjectification/rev/3c1e83926b66
Description:
purple_plugin_get_error() returns "Plugin support is disabled" that is the case
diffstat:
libpurple/plugins.c | 5 +++++
1 files changed, 5 insertions(+), 0 deletions(-)
diffs (22 lines):
diff --git a/libpurple/plugins.c b/libpurple/plugins.c
--- a/libpurple/plugins.c
+++ b/libpurple/plugins.c
@@ -282,6 +282,7 @@ purple_plugin_is_loadable(const PurplePl
const gchar *
purple_plugin_get_error(const PurplePlugin *plugin)
{
+#ifdef PURPLE_PLUGINS
PurplePluginInfoPrivate *priv;
g_return_val_if_fail(plugin != NULL, NULL);
@@ -292,6 +293,10 @@ purple_plugin_get_error(const PurplePlug
return priv->error;
else
return _("This plugin does not return a PurplePluginInfo.");
+
+#else
+ return _("Plugin support is disabled.");
+#endif
}
GSList *
More information about the Commits
mailing list