Mercurial > pidgin
diff libpurple/plugin.c @ 21512:166b7949be3d
Compile when plugins are disabled
| author | Mark Doliner <mark@kingant.net> |
|---|---|
| date | Wed, 14 Nov 2007 23:09:03 +0000 |
| parents | fb8f9bf86315 |
| children | 14afe5a92fc2 |
line wrap: on
line diff
--- a/libpurple/plugin.c Wed Nov 14 20:25:27 2007 +0000 +++ b/libpurple/plugin.c Wed Nov 14 23:09:03 2007 +0000 @@ -763,10 +763,12 @@ void purple_plugin_disable(PurplePlugin *plugin) { +#ifdef PURPLE_PLUGINS g_return_if_fail(plugin != NULL); if (!g_list_find(plugins_to_disable, plugin)) plugins_to_disable = g_list_prepend(plugins_to_disable, plugin); +#endif } gboolean
