summaryrefslogtreecommitdiff
path: root/libpurple/account.h
diff options
context:
space:
mode:
authorWill Thompson <resiak@pidgin.im>2007-10-28 16:32:37 +0000
committerWill Thompson <resiak@pidgin.im>2007-10-28 16:32:37 +0000
commitc4bceaf81973b0cfe063a146d47c81dd540268ec (patch)
treedb4ce39399ae33c32d89642cd8da240851062513 /libpurple/account.h
parent7394fa38207fb64939d725d4b4773e4c104fe14c (diff)
downloadpidgin-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.h11
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);
/*@}*/