src/plugins.c

changeset 2140
36d736a53d30
parent 2131
ef072ae1b2b8
child 2150
10017fe70741
equal deleted inserted replaced
2139:6e5f9b77a190 2140:36d736a53d30
981 return 0; 981 return 0;
982 #endif 982 #endif
983 } 983 }
984 984
985 /* Calls the gaim_plugin_remove function in any loaded plugin that has one */ 985 /* Calls the gaim_plugin_remove function in any loaded plugin that has one */
986 #ifdef GAIM_PLUGINS
986 void remove_all_plugins() 987 void remove_all_plugins()
987 { 988 {
988 GList *c = plugins; 989 GList *c = plugins;
989 struct gaim_plugin *p; 990 struct gaim_plugin *p;
990 void (*gaim_plugin_remove)(); 991 void (*gaim_plugin_remove)();
995 (*gaim_plugin_remove)(); 996 (*gaim_plugin_remove)();
996 g_free(p); 997 g_free(p);
997 c = c->next; 998 c = c->next;
998 } 999 }
999 } 1000 }
1001 #endif

mercurial