pidgin: 4963ec9e: A couple more s/GSList/GList/ changes as

deryni at pidgin.im deryni at pidgin.im
Sun Jul 5 11:16:13 EDT 2009


-----------------------------------------------------------------
Revision: 4963ec9e57fc1b7b43b5a42bbd2acf796dbcd33d
Ancestor: a6fdf34a90e3d582d0ac084c57551cfcc1ea3f8c
Author: deryni at pidgin.im
Date: 2009-07-05T05:49:17
Branch: im.pidgin.pidgin
URL: http://d.pidgin.im/viewmtn/revision/info/4963ec9e57fc1b7b43b5a42bbd2acf796dbcd33d

Modified files:
        libpurple/dnssrv.h libpurple/protocols/jabber/jabber.c

ChangeLog: 

A couple more s/GSList/GList/ changes as fallout from the last change.

-------------- next part --------------
============================================================
--- libpurple/dnssrv.h	09cb8035323d51975d5dcf1ff776423cdc410dd8
+++ libpurple/dnssrv.h	e3d07f2b900c09f2bf5d601e9578426380ca3aa8
@@ -52,10 +52,10 @@ typedef void (*PurpleSrvCallback)(Purple
 /**
  * Callback that returns the data retrieved from a DNS TXT lookup.
  *
- * @param responses   A GSList of PurpleTxtResponse objects.
+ * @param responses   A GList of PurpleTxtResponse objects.
  * @param data        The extra data passed to purple_txt_resolve.
  */
-typedef void (*PurpleTxtCallback)(GSList *responses, gpointer data);
+typedef void (*PurpleTxtCallback)(GList *responses, gpointer data);
 
 /**
  * Queries an SRV record.
============================================================
--- libpurple/protocols/jabber/jabber.c	6ec18ac516c4d1b6f1f29b35ede6a5bd41d5bf04
+++ libpurple/protocols/jabber/jabber.c	6dd3827765c1db389daf15813ee5e3b82d58ccc2
@@ -596,7 +596,7 @@ static void
 }
 
 static void
-txt_resolved_cb(GSList *responses, gpointer data)
+txt_resolved_cb(GList *responses, gpointer data)
 {
 	JabberStream *js = data;
 
@@ -624,7 +624,7 @@ txt_resolved_cb(GSList *responses, gpoin
 		}
 		g_strfreev(token);
 		purple_txt_response_destroy(resp);
-		responses = g_slist_delete_link(responses, responses);
+		responses = g_list_delete_link(responses, responses);
 	}
 
 	if (js->bosh) {
@@ -634,8 +634,8 @@ txt_resolved_cb(GSList *responses, gpoin
 	}
 
 	if (responses) {
-		g_slist_foreach(responses, (GFunc)purple_txt_response_destroy, NULL);
-		g_slist_free(responses);
+		g_list_foreach(responses, (GFunc)purple_txt_response_destroy, NULL);
+		g_list_free(responses);
 	}
 }
 


More information about the Commits mailing list