Thu, 28 Mar 2013 11:20:10 +0100
Get rid of purple_connection_had_error
| libpurple/connection.c | file | annotate | diff | comparison | revisions | |
| libpurple/connection.h | file | annotate | diff | comparison | revisions |
--- a/libpurple/connection.c Thu Mar 28 11:15:06 2013 +0100 +++ b/libpurple/connection.c Thu Mar 28 11:20:10 2013 +0100 @@ -476,14 +476,6 @@ return connection->proto_data; } -gboolean -purple_connection_had_error(const PurpleConnection *gc) -{ - g_return_val_if_fail(gc != NULL, FALSE); - - return gc->disconnect_timeout != 0; -} - void purple_connection_update_progress(PurpleConnection *gc, const char *text, size_t step, size_t count)
--- a/libpurple/connection.h Thu Mar 28 11:15:06 2013 +0100 +++ b/libpurple/connection.h Thu Mar 28 11:20:10 2013 +0100 @@ -145,7 +145,6 @@ #include <time.h> #include "account.h" -#include "keyring.h" #include "plugin.h" #include "status.h" #include "sslconn.h" @@ -382,15 +381,6 @@ void *purple_connection_get_protocol_data(const PurpleConnection *connection); /** - * Returns if the connection had an error - * - * @param gc The connection. - * - * @return TRUE if the connection had an error, FALSE otherwise - */ -gboolean purple_connection_had_error(const PurpleConnection *gc); - -/** * Updates the connection progress. * * @param gc The connection.