Mercurial > pidgin
view libpurple/dbus-useful.h @ 30953:5eb2ea662d8c
Nothing uses this return value, so stop returning it. I think it's weird
for an unref function to return a pointer to the object you unreffed.
I see how there could be an argument for such a thing... but it seems like
it would be better to write code that doesn't require knowing whether the
object you unreffed was destroyed.
author | Mark Doliner <mark@kingant.net> |
---|---|
date | Mon, 22 Nov 2010 07:43:56 +0000 |
parents | 32c366eeeb99 |
children | 98520ee78f12 |
line wrap: on
line source
#include "conversation.h" PurpleAccount *purple_accounts_find_ext(const char *name, const char *protocol_id, gboolean (*account_test)(const PurpleAccount *account)); PurpleAccount *purple_accounts_find_any(const char *name, const char *protocol); PurpleAccount *purple_accounts_find_connected(const char *name, const char *protocol);