diff options
author | Will Thompson <resiak@pidgin.im> | 2007-10-28 16:32:37 +0000 |
---|---|---|
committer | Will Thompson <resiak@pidgin.im> | 2007-10-28 16:32:37 +0000 |
commit | c4bceaf81973b0cfe063a146d47c81dd540268ec (patch) | |
tree | db4ce39399ae33c32d89642cd8da240851062513 /libpurple/account.h | |
parent | 7394fa38207fb64939d725d4b4773e4c104fe14c (diff) | |
download | pidgin-c4bceaf81973b0cfe063a146d47c81dd540268ec.tar.gz |
PurpleConnectionErrorPair is a better name for struct { PurpleConnectionError;
const char *desc } than PurpleAccountCurrentError.
Diffstat (limited to 'libpurple/account.h')
-rw-r--r-- | libpurple/account.h | 11 |
1 files changed, 1 insertions, 10 deletions
diff --git a/libpurple/account.h b/libpurple/account.h index 32ebcefc63..e6448dc7d6 100644 --- a/libpurple/account.h +++ b/libpurple/account.h @@ -144,15 +144,6 @@ struct _PurpleAccount gpointer priv; /**< Pointer to opaque private data. */ }; -/** The error most recently encountered on an account. */ -typedef struct -{ - /** The type of error. */ - PurpleConnectionError reason; - /** A localised, human-readable description of the error. */ - const char *description; -} PurpleAccountCurrentError; - #ifdef __cplusplus extern "C" { #endif @@ -912,7 +903,7 @@ gboolean purple_account_supports_offline_message(PurpleAccount *account, PurpleB * @constreturn The type of error and a human-readable description of the * current error, or @c NULL if there is no current error. */ -const PurpleAccountCurrentError *purple_account_get_current_error(PurpleAccount *account); +const PurpleConnectionErrorPair *purple_account_get_current_error(PurpleAccount *account); /*@}*/ |