Mercurial > pidgin.yaz
diff src/status.c @ 10056:b566449d45f8
[gaim-migrate @ 11021]
(20:49:44) nosnilmot: ok, I have a patch that makes setting exclusive
(non-independant) statuses WORK
(20:59:01) LSchiere: commit message for eclusive status?
(20:59:18) nosnilmot: "what was audiokat thinking?"
committer: Tailor Script <tailor@pidgin.im>
author | Luke Schierer <lschiere@pidgin.im> |
---|---|
date | Tue, 21 Sep 2004 00:58:41 +0000 |
parents | eaec201b2688 |
children | 39142bdd5ba6 |
line wrap: on
line diff
--- a/src/status.c Mon Sep 20 03:32:57 2004 +0000 +++ b/src/status.c Tue Sep 21 00:58:41 2004 +0000 @@ -636,20 +636,14 @@ for (l = gaim_presence_get_statuses(presence); l != NULL; l = l->next) { - GaimStatusType *temp_type = l->data; - GaimStatus *temp_status = NULL; + GaimStatus *temp_status = l->data; + GaimStatusType *temp_type; - if (!gaim_status_compare(temp_status, status)) - continue; + temp_type = gaim_status_get_type(temp_status); if (gaim_status_type_is_independent(temp_type)) continue; - - temp_status = (GaimStatus *)g_hash_table_lookup( - presence->status_table, - gaim_status_type_get_id(temp_type)); - if (gaim_status_is_active(temp_status)) { /*