Mercurial > pidgin.yaz
comparison src/conversation.c @ 3812:f8b01fcefe0d
[gaim-migrate @ 3959]
fixes a warning in conversations. thanks deryni
committer: Tailor Script <tailor@pidgin.im>
author | Luke Schierer <lschiere@pidgin.im> |
---|---|
date | Mon, 28 Oct 2002 02:39:50 +0000 |
parents | e403c93110d0 |
children | 0750fbdaf64e |
comparison
equal
deleted
inserted
replaced
3811:f9775881ea94 | 3812:f8b01fcefe0d |
---|---|
2046 offs = 0; | 2046 offs = 0; |
2047 if (gtk_notebook_get_current_page(GTK_NOTEBOOK(chat_notebook)) == | 2047 if (gtk_notebook_get_current_page(GTK_NOTEBOOK(chat_notebook)) == |
2048 g_list_index(chats, c) + offs) | 2048 g_list_index(chats, c) + offs) |
2049 unhighlight = 1; | 2049 unhighlight = 1; |
2050 } else { | 2050 } else { |
2051 if (gtk_notebook_get_current_page(GTK_NOTEBOOK(convo_notebook)) == | 2051 if (im_options & OPT_IM_ONE_WINDOW) |
2052 g_list_index(conversations, c)) | 2052 if (gtk_notebook_get_current_page(GTK_NOTEBOOK(convo_notebook)) == |
2053 unhighlight = 1; | 2053 g_list_index(conversations, c)) |
2054 unhighlight = 1; | |
2054 } | 2055 } |
2055 | 2056 |
2056 if (!unhighlight && flags & WFLAG_NICK) { | 2057 if (!unhighlight && flags & WFLAG_NICK) { |
2057 c->unseen = 2; | 2058 c->unseen = 2; |
2058 } else if (!unhighlight) { | 2059 } else if (!unhighlight) { |