# HG changeset patch # User Luke Schierer # Date 1095728321 0 # Node ID b566449d45f8388f6808b10cc015284c2644eacb # Parent 0436734708fa8c3dd170ed34a2fa1a97a6e3ae28 [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 diff -r 0436734708fa -r b566449d45f8 src/status.c --- 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)) { /*