view libpurple/dbus-useful.h @ 23847:48958ca5abad

Close notify and request dialogs with PurpleSslConnection as handle. This fixes crashes with the Accept/Reject Certificate dialog after an account is disabled. It only works because the NSS and GnuTLS plugins pass the sslconn as their callback data, and the certificate code uses that data as the handle. Not sure, but I still think this will leak PurpleCertificateVerificationRequest's though because there doesn't seem to be anyone hanging on to them.
author Elliott Sales de Andrade <qulogic@pidgin.im>
date Mon, 18 Aug 2008 01:00:58 +0000
parents 32c366eeeb99
children
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);