[gaim-migrate @ 10995]

Sat, 18 Sep 2004 21:55:37 +0000

author
Luke Schierer <lschiere@pidgin.im>
date
Sat, 18 Sep 2004 21:55:37 +0000
changeset 10036
743f585a1141
parent 10035
03f36b9a1276
child 10037
5f5b72040fa2

[gaim-migrate @ 10995]
this account deletion patch should have been committed to both trees a
while ago

src/gtkblist.c file | annotate | diff | comparison | revisions
src/prpl.c file | annotate | diff | comparison | revisions
--- 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) {
--- 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;
 

mercurial