diff src/gaimrc.c @ 940:9fca1293f871

[gaim-migrate @ 950] Patches from kylev committer: Tailor Script <tailor@pidgin.im>
author Rob Flynn <gaim@robflynn.com>
date Sun, 01 Oct 2000 00:20:03 +0000
parents f3c23b3c1ed7
children fa681641643d
line wrap: on
line diff
--- a/src/gaimrc.c	Sun Oct 01 00:06:43 2000 +0000
+++ b/src/gaimrc.c	Sun Oct 01 00:20:03 2000 +0000
@@ -207,14 +207,14 @@
 			g_snprintf(a->name, sizeof(a->name),  "%s", p->value[0]);
 			g_snprintf(a->message, sizeof(a->message), "%s", p->value[1]);
 			filter_break(a->message);
-			away_messages = g_list_append(away_messages, a);
+			away_messages = g_slist_append(away_messages, a);
 		}
 	}
 }
 
 static void gaimrc_write_away(FILE *f)
 {
-	GList *awy = away_messages;
+	GSList *awy = away_messages;
 	struct away_message *a;
 
 	fprintf(f, "away {\n");
@@ -235,7 +235,7 @@
 			free(str1);
 			free(str2);
 	
-			awy = awy->next;
+			awy = g_slist_next(awy);
 		}
 	}
 	else
@@ -670,7 +670,7 @@
        	 	}
        	 	if (away_messages)
        	 	{
-       	 		g_list_free(away_messages);
+       	 		g_slist_free(away_messages);
         		away_messages = NULL;
         	}
 	}