/soc/2013/ankitkv/gobjectification: 3c6c278c5282: Merged default...

Ankit Vani a at nevitus.org
Wed Aug 28 18:10:16 EDT 2013


Changeset: 3c6c278c52824c9aba5f39745b8b87a1a9d68104
Author:	 Ankit Vani <a at nevitus.org>
Date:	 2013-08-29 03:39 +0530
Branch:	 soc.2013.gobjectification
URL: https://hg.pidgin.im/soc/2013/ankitkv/gobjectification/rev/3c6c278c5282

Description:

Merged default branch

diffstat:

 libpurple/http.c |  21 ++++++++++-----------
 1 files changed, 10 insertions(+), 11 deletions(-)

diffs (45 lines):

diff --git a/libpurple/http.c b/libpurple/http.c
--- a/libpurple/http.c
+++ b/libpurple/http.c
@@ -70,7 +70,6 @@ struct _PurpleHttpSocket
 	PurpleProxyConnectData *raw_connection;
 	int fd;
 	guint inpa;
-	PurpleInputFunction watch_cb;
 	PurpleHttpSocketConnectCb connect_cb;
 	gpointer cb_data;
 };
@@ -574,6 +573,16 @@ purple_http_socket_write(PurpleHttpSocke
 }
 
 static void
+purple_http_socket_dontwatch(PurpleHttpSocket *hs)
+{
+	g_return_if_fail(hs != NULL);
+
+	if (hs->inpa > 0)
+		purple_input_remove(hs->inpa);
+	hs->inpa = 0;
+}
+
+static void
 purple_http_socket_watch(PurpleHttpSocket *hs, PurpleInputCondition cond,
 	PurpleInputFunction func, gpointer user_data)
 {
@@ -584,16 +593,6 @@ purple_http_socket_watch(PurpleHttpSocke
 }
 
 static void
-purple_http_socket_dontwatch(PurpleHttpSocket *hs)
-{
-	g_return_if_fail(hs != NULL);
-
-	if (hs->inpa > 0)
-		purple_input_remove(hs->inpa);
-	hs->inpa = 0;
-}
-
-static void
 purple_http_socket_close_free(PurpleHttpSocket *hs)
 {
 	if (hs == NULL)



More information about the Commits mailing list