src/plugin.c

changeset 5242
155da5e9bbf0
parent 5211
94d9756c381f
child 5243
e8d35a430c6d
equal deleted inserted replaced
5241:6b57b7211ee1 5242:155da5e9bbf0
491 491
492 #endif /* GAIM_PLUGINS */ 492 #endif /* GAIM_PLUGINS */
493 } 493 }
494 494
495 void 495 void
496 gaim_plugins_destroy_all(void)
497 {
498 #ifdef GAIM_PLUGINS
499
500 gaim_plugins_unload_all();
501
502 while (plugins != NULL)
503 gaim_plugin_destroy(plugins->data);
504
505 #endif /* GAIM_PLUGINS */
506 }
507 void
496 gaim_plugins_probe(const char *ext) 508 gaim_plugins_probe(const char *ext)
497 { 509 {
498 #ifdef GAIM_PLUGINS 510 #ifdef GAIM_PLUGINS
499 GDir *dir; 511 GDir *dir;
500 const gchar *file; 512 const gchar *file;

mercurial