Mercurial > pidgin
changeset 2854:86e74a0c2f6e
[gaim-migrate @ 2867]
leave it alone
committer: Tailor Script <tailor@pidgin.im>
author | Eric Warmenhoven <eric@warmenhoven.org> |
---|---|
date | Fri, 07 Dec 2001 00:19:06 +0000 |
parents | f0633f458a1c |
children | 19f786779b08 |
files | src/buddy_chat.c |
diffstat | 1 files changed, 4 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/src/buddy_chat.c Thu Dec 06 20:13:24 2001 +0000 +++ b/src/buddy_chat.c Fri Dec 07 00:19:06 2001 +0000 @@ -812,8 +812,10 @@ static gint right_click_chat(GtkObject *obj, GdkEventButton *event, struct conversation *b) { if (event->button == 1 && event->type == GDK_2BUTTON_PRESS) { - if (!find_conversation(gtk_object_get_user_data(obj))) - new_conversation(gtk_object_get_user_data(obj)); + struct conversation *c; + if ((c = find_conversation(gtk_object_get_user_data(obj))) == NULL) + c = new_conversation(gtk_object_get_user_data(obj)); + set_convo_gc(c, b->gc); } else if (event->button == 3 && event->type == GDK_BUTTON_PRESS) { GtkWidget *menu; GtkWidget *button;