diff pidgin/gtkdocklet.c @ 18063:926ccb104da0

disapproval of revision '1411afd7660760db59966c3a9f18e2adab8eb27e'
author Richard Laager <rlaager@wiktel.com>
date Sat, 16 Jun 2007 19:00:35 +0000
parents 4ca97b26a8fb
children 1bb77e24cced
line wrap: on
line diff
--- a/pidgin/gtkdocklet.c	Thu Jun 07 04:22:42 2007 +0000
+++ b/pidgin/gtkdocklet.c	Sat Jun 16 19:00:35 2007 +0000
@@ -109,8 +109,7 @@
 static gboolean
 docklet_update_status()
 {
-	GList *convs;
-	const GList *l;
+	GList *convs, *l;
 	int count;
 	PurpleSavedStatus *saved_status;
 	PurpleStatusPrimitive newstatus = PURPLE_STATUS_OFFLINE;
@@ -214,7 +213,8 @@
 static gboolean
 online_account_supports_chat()
 {
-	const GList *c = purple_connections_get_all();
+	GList *c = NULL;
+	c = purple_connections_get_all();
 
 	while(c != NULL) {
 		PurpleConnection *gc = c->data;