changeset 27349:a71cc338f0fd

A couple more s/GSList/GList/ changes as fallout from the last change.
author Etan Reisner <pidgin@unreliablesource.net>
date Sun, 05 Jul 2009 05:49:17 +0000
parents e400cd35542b
children c91c1b6a84c6
files libpurple/dnssrv.h libpurple/protocols/jabber/jabber.c
diffstat 2 files changed, 6 insertions(+), 6 deletions(-) [+]
line wrap: on
line diff
--- a/libpurple/dnssrv.h	Sun Jul 05 05:04:33 2009 +0000
+++ b/libpurple/dnssrv.h	Sun Jul 05 05:49:17 2009 +0000
@@ -52,10 +52,10 @@
 /**
  * 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.
--- a/libpurple/protocols/jabber/jabber.c	Sun Jul 05 05:04:33 2009 +0000
+++ b/libpurple/protocols/jabber/jabber.c	Sun Jul 05 05:49:17 2009 +0000
@@ -596,7 +596,7 @@
 }
 
 static void
-txt_resolved_cb(GSList *responses, gpointer data)
+txt_resolved_cb(GList *responses, gpointer data)
 {
 	JabberStream *js = data;
 
@@ -624,7 +624,7 @@
 		}
 		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 @@
 	}
 
 	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);
 	}
 }