Mercurial > pidgin.yaz
changeset 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 | 0436734708fa |
children | 5d2a08d82e7a |
files | src/status.c |
diffstat | 1 files changed, 3 insertions(+), 9 deletions(-) [+] |
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)) { /*