im.pidgin.pidgin: 0f2aea70dddcdb24eb94546fb5cc165322692412

markdoliner at pidgin.im markdoliner at pidgin.im
Wed Nov 14 18:10:37 EST 2007


-----------------------------------------------------------------
Revision: 0f2aea70dddcdb24eb94546fb5cc165322692412
Ancestor: 3aeefaab905e186cdef292e3f93c15aecb81ba09
Author: markdoliner at pidgin.im
Date: 2007-11-14T23:09:03
Branch: im.pidgin.pidgin

Modified files:
        libpurple/plugin.c

ChangeLog: 

Compile when plugins are disabled

-------------- next part --------------
============================================================
--- libpurple/plugin.c	077ef959d93066edc6f17fe7fe17a4113a6c0161
+++ libpurple/plugin.c	e3c305d2bc011c12c1a1107f60945c9e8ba7f302
@@ -763,10 +763,12 @@ purple_plugin_disable(PurplePlugin *plug
 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


More information about the Commits mailing list