view src/dbus-useful.h @ 12434:1811afd29b57

[gaim-migrate @ 14741] OSCAR, at least, is guilty of setting status messages on statuses which do not accept a message with some regularity. I'm betting other protocols have similar errors. This causes such errors to be logged as an error to the debug window, so that they can be tracked down and fixed. In general, we seem to be abusing g_return_if_fail -- it's intended to be an *assertion*, not a shortcut for normal return conditions. I think it complains (or can complain) to the debug window itself ... maybe we need to make it louder. committer: Tailor Script <tailor@pidgin.im>
author Ethan Blanton <elb@pidgin.im>
date Fri, 09 Dec 2005 05:07:10 +0000
parents 1c5398ccbeb0
children 8bda65b88e49
line wrap: on
line source

#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);