Mercurial > pidgin.yaz
changeset 12469:f4efe0c0de88
[gaim-migrate @ 14779]
I'm not going to lie, this is just whitespace changes to unseen conversation stuff. I thought I got this in the last commit.
committer: Tailor Script <tailor@pidgin.im>
author | Richard Laager <rlaager@wiktel.com> |
---|---|
date | Mon, 12 Dec 2005 19:28:06 +0000 |
parents | 6faefbebcd24 |
children | 13f351a0096e |
files | src/gtkconv.c |
diffstat | 1 files changed, 6 insertions(+), 5 deletions(-) [+] |
line wrap: on
line diff
--- a/src/gtkconv.c Mon Dec 12 18:59:29 2005 +0000 +++ b/src/gtkconv.c Mon Dec 12 19:28:06 2005 +0000 @@ -2426,23 +2426,24 @@ GList *r = NULL; guint c = 0; - if (type==GAIM_CONV_TYPE_IM) { + if (type == GAIM_CONV_TYPE_IM) { l = gaim_get_ims(); - } else if (type==GAIM_CONV_TYPE_CHAT) { + } else if (type == GAIM_CONV_TYPE_CHAT) { l = gaim_get_chats(); } else { l = gaim_get_conversations(); } - for (; l!=NULL && (max_count==0 || c < max_count); l = l->next) { + for (; l != NULL && (max_count == 0 || c < max_count); l = l->next) { GaimConversation *conv = (GaimConversation*)l->data; GaimGtkConversation *gtkconv = GAIM_GTK_CONVERSATION(conv); if(gtkconv->active_conv != conv) continue; - if (gtkconv->unseen_state >= min_state && (!hidden_only || - (hidden_only && gtkconv->win==hidden_convwin))) { + if (gtkconv->unseen_state >= min_state + && (!hidden_only || + (hidden_only && gtkconv->win == hidden_convwin))) { r = g_list_prepend(r, conv); c++;