src/gnome_applet_mgr.c

changeset 940
b3985f53a6c0
parent 776
445adc75c091
child 941
da5dc4cfa8cc
--- 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/");

mercurial