Mercurial > pidgin
comparison plugins/gaiminc.c @ 10104:60db14d54914
[gaim-migrate @ 11131]
"This patch that makes received-im-msg and
received-chat-msg signals correspond with each other.
My motivation was to add flags to received-chat-msg,
but I also added conv to received-im-msg to make the
signals match each other."
-- Nathan Fredrickson (noif)
I also updated the receiving-im-msg and receiving-chat-msg signals to match.
Now I can finally reject patch 909745 with "this should be a plugin", which
I've wanted to be able to say for a while. Yay :)
committer: Tailor Script <tailor@pidgin.im>
author | Stu Tomlinson <stu@nosnilmot.com> |
---|---|
date | Sat, 16 Oct 2004 15:07:22 +0000 |
parents | a9fb4493ae22 |
children | 17142948653e |
comparison
equal
deleted
inserted
replaced
10103:a9521c791afe | 10104:60db14d54914 |
---|---|
18 /* this doesn't do much, just lets you know who we are :) */ | 18 /* this doesn't do much, just lets you know who we are :) */ |
19 gaim_gtkdialogs_about(NULL, NULL); | 19 gaim_gtkdialogs_about(NULL, NULL); |
20 } | 20 } |
21 | 21 |
22 static gboolean | 22 static gboolean |
23 reverse(GaimAccount *account, char **who, char **message, int *flags) | 23 reverse(GaimAccount *account, char **who, char **message, |
24 GaimConversation *conv, int *flags) | |
24 { | 25 { |
25 /* this will drive you insane. whenever you receive a message, | 26 /* this will drive you insane. whenever you receive a message, |
26 * the text of the message (HTML and all) will be reversed. */ | 27 * the text of the message (HTML and all) will be reversed. */ |
27 int i, l; | 28 int i, l; |
28 char tmp; | 29 char tmp; |