diff src/gnome_applet_mgr.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 626975d79bff
children 0c3bdd59f983
line wrap: on
line diff
--- a/src/gnome_applet_mgr.c	Sun Oct 01 00:06:43 2000 +0000
+++ b/src/gnome_applet_mgr.c	Sun Oct 01 00:20:03 2000 +0000
@@ -186,7 +186,7 @@
 }
 
 void insert_applet_away() {
-	GList *awy = away_messages;
+	GSList *awy = away_messages;
 	struct away_message *a;
 	char  *awayname;
 
@@ -212,13 +212,13 @@
 			(AppletCallbackFunc)do_away_message,
 			a);
 
-		awy = awy->next;
+		awy = g_slist_next(awy);
 		free(awayname);
 	}
 }
 
 void remove_applet_away() {
-	GList *awy = away_messages;
+	GSList *awy = away_messages;
 	struct away_message *a;
 	char  *awayname;
 
@@ -233,7 +233,7 @@
 		strcat(awayname, a->name);
 		applet_widget_unregister_callback(APPLET_WIDGET(applet), awayname);
 
-		awy = awy->next;
+		awy = g_slist_next(awy);
 		free(awayname);
 	}
 	applet_widget_unregister_callback_dir(APPLET_WIDGET(applet), "away/");