/cpw/tomkiewicz/masterpassword: 2cd5b3806558: Get rid of purple_...

Tomasz Wasilczyk tomkiewicz at cpw.pidgin.im
Thu Mar 28 06:20:17 EDT 2013


Changeset: 2cd5b38065587fb35200ac7ac27a7dd7f02ca421
Author:	 Tomasz Wasilczyk <tomkiewicz at cpw.pidgin.im>
Date:	 2013-03-28 11:20 +0100
Branch:	 soc.2008.masterpassword
URL: https://hg.pidgin.im/cpw/tomkiewicz/masterpassword/rev/2cd5b3806558

Description:

Get rid of purple_connection_had_error

diffstat:

 libpurple/connection.c |   8 --------
 libpurple/connection.h |  10 ----------
 2 files changed, 0 insertions(+), 18 deletions(-)

diffs (45 lines):

diff --git a/libpurple/connection.c b/libpurple/connection.c
--- a/libpurple/connection.c
+++ b/libpurple/connection.c
@@ -476,14 +476,6 @@ purple_connection_get_protocol_data(cons
 	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)
diff --git a/libpurple/connection.h b/libpurple/connection.h
--- a/libpurple/connection.h
+++ b/libpurple/connection.h
@@ -145,7 +145,6 @@ typedef struct
 #include <time.h>
 
 #include "account.h"
-#include "keyring.h"
 #include "plugin.h"
 #include "status.h"
 #include "sslconn.h"
@@ -382,15 +381,6 @@ const char *purple_connection_get_displa
 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.



More information about the Commits mailing list