Mercurial > pidgin.yaz
comparison libpurple/protocols/bonjour/buddy.c @ 24294:5ace6c024230
propagate from branch 'im.pidgin.pidgin' (head 7821a3549d7d99473e999dc067afc4218addcc1e)
to branch 'local.struct.hiding' (head 4235f268e41a5ad75efa1010b697599c0c0dd28a)
author | Sadrul Habib Chowdhury <imadil@gmail.com> |
---|---|
date | Fri, 31 Oct 2008 07:59:46 +0000 |
parents | 16734635febf fe7504f465a2 |
children | da46097b4722 |
comparison
equal
deleted
inserted
replaced
24121:c6ad3932b565 | 24294:5ace6c024230 |
---|---|
125 void | 125 void |
126 bonjour_buddy_add_to_purple(BonjourBuddy *bonjour_buddy, PurpleBuddy *buddy) | 126 bonjour_buddy_add_to_purple(BonjourBuddy *bonjour_buddy, PurpleBuddy *buddy) |
127 { | 127 { |
128 PurpleGroup *group; | 128 PurpleGroup *group; |
129 PurpleAccount *account = bonjour_buddy->account; | 129 PurpleAccount *account = bonjour_buddy->account; |
130 const char *status_id, *old_hash, *new_hash; | 130 const char *status_id, *old_hash, *new_hash, *name; |
131 const char *name; | |
132 | 131 |
133 /* Translate between the Bonjour status and the Purple status */ | 132 /* Translate between the Bonjour status and the Purple status */ |
134 if (bonjour_buddy->status != NULL && g_ascii_strcasecmp("dnd", bonjour_buddy->status) == 0) | 133 if (bonjour_buddy->status != NULL && g_ascii_strcasecmp("dnd", bonjour_buddy->status) == 0) |
135 status_id = BONJOUR_STATUS_ID_AWAY; | 134 status_id = BONJOUR_STATUS_ID_AWAY; |
136 else | 135 else |