# HG changeset patch # User Luke Schierer # Date 1095544537 0 # Node ID 0ddc38f8db4a340414663840489750608d75e956 # Parent 4e7fe18a36b7418eff68cb9b8a12a57e0f3d453c [gaim-migrate @ 10995] this account deletion patch should have been committed to both trees a while ago committer: Tailor Script diff -r 4e7fe18a36b7 -r 0ddc38f8db4a src/gtkblist.c --- a/src/gtkblist.c Sat Sep 18 17:19:29 2004 +0000 +++ b/src/gtkblist.c Sat Sep 18 21:55:37 2004 +0000 @@ -4741,6 +4741,8 @@ const char *protoname = NULL; char buf[256]; + g_return_val_if_fail( account != NULL, NULL); + prpl = gaim_find_prpl(gaim_account_get_protocol_id(account)); if (prpl != NULL) { diff -r 4e7fe18a36b7 -r 0ddc38f8db4a src/prpl.c --- a/src/prpl.c Sat Sep 18 17:19:29 2004 +0000 +++ b/src/prpl.c Sat Sep 18 21:55:37 2004 +0000 @@ -385,6 +385,8 @@ GList *l; GaimPlugin *plugin; + g_return_val_if_fail(id != NULL, NULL); + for (l = gaim_plugins_get_protocols(); l != NULL; l = l->next) { plugin = (GaimPlugin *)l->data;