Mercurial > pidgin.yaz
comparison src/util.c @ 4476:62c1e5e656d0
[gaim-migrate @ 4751]
gaim_conversation_new() now takes an aim_user parameter. This should fix
the new placement grouping bugs, as the default "user" (account)
selected was the first account in the list of connections. There may be
side-effects, especially with perl plugins, but I'm not sure. Please report
anything odd that you see as a result of this.
committer: Tailor Script <tailor@pidgin.im>
author | Christian Hammond <chipx86@chipx86.com> |
---|---|
date | Thu, 30 Jan 2003 18:45:50 +0000 |
parents | a46c57f2d58b |
children | 3196d9044a45 |
comparison
equal
deleted
inserted
replaced
4475:1f3241831734 | 4476:62c1e5e656d0 |
---|---|
998 } | 998 } |
999 what = g_strdup(str->str); | 999 what = g_strdup(str->str); |
1000 g_string_free(str, TRUE); | 1000 g_string_free(str, TRUE); |
1001 } | 1001 } |
1002 | 1002 |
1003 c = gaim_conversation_new(GAIM_CONV_IM, who); | 1003 c = gaim_conversation_new(GAIM_CONV_IM, gc->user, who); |
1004 gaim_conversation_set_user(c, gc->user); | |
1005 g_free(who); | 1004 g_free(who); |
1006 | 1005 |
1007 if (what) { | 1006 if (what) { |
1008 struct gaim_gtk_conversation *gtkconv = GAIM_GTK_CONVERSATION(c); | 1007 struct gaim_gtk_conversation *gtkconv = GAIM_GTK_CONVERSATION(c); |
1009 | 1008 |