comparison src/prpl.c @ 10036:0ddc38f8db4a

[gaim-migrate @ 10995] this account deletion patch should have been committed to both trees a while ago committer: Tailor Script <tailor@pidgin.im>
author Luke Schierer <lschiere@pidgin.im>
date Sat, 18 Sep 2004 21:55:37 +0000
parents 34bce9529cf4
children dcdda2857ca8
comparison
equal deleted inserted replaced
10035:4e7fe18a36b7 10036:0ddc38f8db4a
383 gaim_find_prpl(const char *id) 383 gaim_find_prpl(const char *id)
384 { 384 {
385 GList *l; 385 GList *l;
386 GaimPlugin *plugin; 386 GaimPlugin *plugin;
387 387
388 g_return_val_if_fail(id != NULL, NULL);
389
388 for (l = gaim_plugins_get_protocols(); l != NULL; l = l->next) { 390 for (l = gaim_plugins_get_protocols(); l != NULL; l = l->next) {
389 plugin = (GaimPlugin *)l->data; 391 plugin = (GaimPlugin *)l->data;
390 392
391 /* Just In Case (TM) */ 393 /* Just In Case (TM) */
392 if (GAIM_IS_PROTOCOL_PLUGIN(plugin)) { 394 if (GAIM_IS_PROTOCOL_PLUGIN(plugin)) {