Mercurial > pidgin.yaz
comparison plugins/filectl.c @ 5676:dae79aefac8d
[gaim-migrate @ 6094]
I've been meaning to do this for a LONG time. The conversation API now
follows the naming convention of the rest of the new APIs. I'll get some
g_return_*_if_fail() checks in there soon.
committer: Tailor Script <tailor@pidgin.im>
author | Christian Hammond <chipx86@chipx86.com> |
---|---|
date | Mon, 02 Jun 2003 21:51:06 +0000 |
parents | c0baa01cdeda |
children | 7d385de2f9cd |
comparison
equal
deleted
inserted
replaced
5675:17e345ffeddb | 5676:dae79aefac8d |
---|---|
70 signoff(gc); | 70 signoff(gc); |
71 else if (!arg1) | 71 else if (!arg1) |
72 signoff_all(NULL, NULL); | 72 signoff_all(NULL, NULL); |
73 free(arg1); | 73 free(arg1); |
74 } else if (!strncasecmp(command, "send", 4)) { | 74 } else if (!strncasecmp(command, "send", 4)) { |
75 struct gaim_conversation *c; | 75 GaimConversation *c; |
76 arg1 = getarg(buffer, 1, 0); | 76 arg1 = getarg(buffer, 1, 0); |
77 arg2 = getarg(buffer, 2, 1); | 77 arg2 = getarg(buffer, 2, 1); |
78 c = find_conversation(arg1); | 78 c = find_conversation(arg1); |
79 if (!c) c = gaim_conversation_new(GAIM_CONV_IM, arg1); | 79 if (!c) c = gaim_conversation_new(GAIM_CONV_IM, arg1); |
80 write_to_conv(c, arg2, WFLAG_SEND, NULL, time(NULL), -1); | 80 write_to_conv(c, arg2, WFLAG_SEND, NULL, time(NULL), -1); |