Sun, 11 Aug 2013 17:51:34 +0530
purple_plugin_get_error() returns "Plugin support is disabled" that is the case
| libpurple/plugins.c | file | annotate | diff | comparison | revisions |
--- a/libpurple/plugins.c Sun Aug 11 17:44:04 2013 +0530 +++ b/libpurple/plugins.c Sun Aug 11 17:51:34 2013 +0530 @@ -282,6 +282,7 @@ 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 @@ return priv->error; else return _("This plugin does not return a PurplePluginInfo."); + +#else + return _("Plugin support is disabled."); +#endif } GSList *