Mercurial > pidgin.yaz
comparison 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 |
comparison
equal
deleted
inserted
replaced
10055:0436734708fa | 10056:b566449d45f8 |
---|---|
634 { | 634 { |
635 const GList *l; | 635 const GList *l; |
636 | 636 |
637 for (l = gaim_presence_get_statuses(presence); l != NULL; l = l->next) | 637 for (l = gaim_presence_get_statuses(presence); l != NULL; l = l->next) |
638 { | 638 { |
639 GaimStatusType *temp_type = l->data; | 639 GaimStatus *temp_status = l->data; |
640 GaimStatus *temp_status = NULL; | 640 GaimStatusType *temp_type; |
641 | 641 |
642 if (!gaim_status_compare(temp_status, status)) | 642 temp_type = gaim_status_get_type(temp_status); |
643 continue; | |
644 | 643 |
645 if (gaim_status_type_is_independent(temp_type)) | 644 if (gaim_status_type_is_independent(temp_type)) |
646 continue; | 645 continue; |
647 | |
648 | |
649 temp_status = (GaimStatus *)g_hash_table_lookup( | |
650 presence->status_table, | |
651 gaim_status_type_get_id(temp_type)); | |
652 | 646 |
653 if (gaim_status_is_active(temp_status)) | 647 if (gaim_status_is_active(temp_status)) |
654 { | 648 { |
655 /* | 649 /* |
656 * Since we don't want an infinite loop, we have to set | 650 * Since we don't want an infinite loop, we have to set |