Mercurial > pidgin.yaz
diff pidgin/gtkdocklet.c @ 18121:9b9e202eb449
merge of 'bfe8046c64de924e7495c4913a6db09a462b1d85'
and 'dedd3ec8f99fdd14b30a54ea1142e9daee336eff'
author | Richard Laager <rlaager@wiktel.com> |
---|---|
date | Sat, 16 Jun 2007 20:34:35 +0000 |
parents | 926ccb104da0 |
children | 1bb77e24cced |
line wrap: on
line diff
--- a/pidgin/gtkdocklet.c Sat Jun 16 20:16:36 2007 +0000 +++ b/pidgin/gtkdocklet.c Sat Jun 16 20:34: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;