libpurple/dbus-useful.h

Fri, 09 Feb 2007 07:42:01 +0000

author
Mark Doliner <markdoliner@pidgin.im>
date
Fri, 09 Feb 2007 07:42:01 +0000
changeset 15657
a9e38c097d28
parent 15435
4b933b06d75e
child 15884
4de1981757fc
permissions
-rw-r--r--

sf patch #1655057, from Peter Tang

Fix a memory leak when signing off an account, I think. Peter Tang
found it and suggested one fix. I suggested another, then Sadrul
made it work. I like this change. We're now re-using GaimStatusType
objects instead of making lots of copies of them.

#include "conversation.h"

GaimAccount *gaim_accounts_find_ext(const char *name, const char *protocol_id,
				    gboolean (*account_test)(const GaimAccount *account));

GaimAccount *gaim_accounts_find_any(const char *name, const char *protocol);

GaimAccount *gaim_accounts_find_connected(const char *name, const char *protocol);




mercurial