Mercurial > pidgin.yaz
comparison src/conversation.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 | 9fdbfe832fac |
children | 9f358a718f38 |
comparison
equal
deleted
inserted
replaced
10103:a9521c791afe | 10104:60db14d54914 |
---|---|
2791 GAIM_SUBTYPE_ACCOUNT), | 2791 GAIM_SUBTYPE_ACCOUNT), |
2792 gaim_value_new(GAIM_TYPE_STRING), | 2792 gaim_value_new(GAIM_TYPE_STRING), |
2793 gaim_value_new(GAIM_TYPE_STRING)); | 2793 gaim_value_new(GAIM_TYPE_STRING)); |
2794 | 2794 |
2795 gaim_signal_register(handle, "receiving-im-msg", | 2795 gaim_signal_register(handle, "receiving-im-msg", |
2796 gaim_marshal_BOOLEAN__POINTER_POINTER_POINTER_POINTER, | 2796 gaim_marshal_BOOLEAN__POINTER_POINTER_POINTER_POINTER_POINTER, |
2797 gaim_value_new(GAIM_TYPE_BOOLEAN), 4, | 2797 gaim_value_new(GAIM_TYPE_BOOLEAN), 5, |
2798 gaim_value_new(GAIM_TYPE_SUBTYPE, | 2798 gaim_value_new(GAIM_TYPE_SUBTYPE, |
2799 GAIM_SUBTYPE_ACCOUNT), | 2799 GAIM_SUBTYPE_ACCOUNT), |
2800 gaim_value_new_outgoing(GAIM_TYPE_STRING), | 2800 gaim_value_new_outgoing(GAIM_TYPE_STRING), |
2801 gaim_value_new_outgoing(GAIM_TYPE_STRING), | 2801 gaim_value_new_outgoing(GAIM_TYPE_STRING), |
2802 gaim_value_new(GAIM_TYPE_SUBTYPE, | |
2803 GAIM_SUBTYPE_CONVERSATION), | |
2802 gaim_value_new_outgoing(GAIM_TYPE_UINT)); | 2804 gaim_value_new_outgoing(GAIM_TYPE_UINT)); |
2803 | 2805 |
2804 gaim_signal_register(handle, "received-im-msg", | 2806 gaim_signal_register(handle, "received-im-msg", |
2805 gaim_marshal_VOID__POINTER_POINTER_POINTER_UINT, | 2807 gaim_marshal_VOID__POINTER_POINTER_POINTER_POINTER_UINT, |
2806 NULL, 4, | 2808 NULL, 5, |
2807 gaim_value_new(GAIM_TYPE_SUBTYPE, | 2809 gaim_value_new(GAIM_TYPE_SUBTYPE, |
2808 GAIM_SUBTYPE_ACCOUNT), | 2810 GAIM_SUBTYPE_ACCOUNT), |
2809 gaim_value_new(GAIM_TYPE_STRING), | 2811 gaim_value_new(GAIM_TYPE_STRING), |
2810 gaim_value_new(GAIM_TYPE_STRING), | 2812 gaim_value_new(GAIM_TYPE_STRING), |
2813 gaim_value_new(GAIM_TYPE_SUBTYPE, | |
2814 GAIM_SUBTYPE_CONVERSATION), | |
2811 gaim_value_new(GAIM_TYPE_UINT)); | 2815 gaim_value_new(GAIM_TYPE_UINT)); |
2812 | 2816 |
2813 gaim_signal_register(handle, "writing-chat-msg", | 2817 gaim_signal_register(handle, "writing-chat-msg", |
2814 gaim_marshal_BOOLEAN__POINTER_POINTER_POINTER, | 2818 gaim_marshal_BOOLEAN__POINTER_POINTER_POINTER, |
2815 gaim_value_new(GAIM_TYPE_BOOLEAN), 3, | 2819 gaim_value_new(GAIM_TYPE_BOOLEAN), 3, |
2859 GAIM_SUBTYPE_ACCOUNT), | 2863 GAIM_SUBTYPE_ACCOUNT), |
2860 gaim_value_new(GAIM_TYPE_STRING), | 2864 gaim_value_new(GAIM_TYPE_STRING), |
2861 gaim_value_new(GAIM_TYPE_UINT)); | 2865 gaim_value_new(GAIM_TYPE_UINT)); |
2862 | 2866 |
2863 gaim_signal_register(handle, "receiving-chat-msg", | 2867 gaim_signal_register(handle, "receiving-chat-msg", |
2864 gaim_marshal_BOOLEAN__POINTER_POINTER_POINTER_POINTER, | 2868 gaim_marshal_BOOLEAN__POINTER_POINTER_POINTER_POINTER_POINTER, |
2865 gaim_value_new(GAIM_TYPE_BOOLEAN), 4, | 2869 gaim_value_new(GAIM_TYPE_BOOLEAN), 5, |
2866 gaim_value_new(GAIM_TYPE_SUBTYPE, | 2870 gaim_value_new(GAIM_TYPE_SUBTYPE, |
2867 GAIM_SUBTYPE_ACCOUNT), | 2871 GAIM_SUBTYPE_ACCOUNT), |
2868 gaim_value_new_outgoing(GAIM_TYPE_STRING), | 2872 gaim_value_new_outgoing(GAIM_TYPE_STRING), |
2869 gaim_value_new_outgoing(GAIM_TYPE_STRING), | 2873 gaim_value_new_outgoing(GAIM_TYPE_STRING), |
2870 gaim_value_new(GAIM_TYPE_SUBTYPE, | 2874 gaim_value_new(GAIM_TYPE_SUBTYPE, |
2871 GAIM_SUBTYPE_CONVERSATION)); | 2875 GAIM_SUBTYPE_CONVERSATION), |
2876 gaim_value_new_outgoing(GAIM_TYPE_UINT)); | |
2872 | 2877 |
2873 gaim_signal_register(handle, "received-chat-msg", | 2878 gaim_signal_register(handle, "received-chat-msg", |
2874 gaim_marshal_VOID__POINTER_POINTER_POINTER_POINTER, | 2879 gaim_marshal_VOID__POINTER_POINTER_POINTER_POINTER_UINT, |
2875 NULL, 4, | 2880 NULL, 5, |
2876 gaim_value_new(GAIM_TYPE_SUBTYPE, | 2881 gaim_value_new(GAIM_TYPE_SUBTYPE, |
2877 GAIM_SUBTYPE_ACCOUNT), | 2882 GAIM_SUBTYPE_ACCOUNT), |
2878 gaim_value_new(GAIM_TYPE_STRING), | 2883 gaim_value_new(GAIM_TYPE_STRING), |
2879 gaim_value_new(GAIM_TYPE_STRING), | 2884 gaim_value_new(GAIM_TYPE_STRING), |
2880 gaim_value_new(GAIM_TYPE_SUBTYPE, | 2885 gaim_value_new(GAIM_TYPE_SUBTYPE, |
2881 GAIM_SUBTYPE_CONVERSATION)); | 2886 GAIM_SUBTYPE_CONVERSATION), |
2887 gaim_value_new(GAIM_TYPE_UINT)); | |
2882 | 2888 |
2883 gaim_signal_register(handle, "conversation-switching", | 2889 gaim_signal_register(handle, "conversation-switching", |
2884 gaim_marshal_VOID__POINTER_POINTER, NULL, 2, | 2890 gaim_marshal_VOID__POINTER_POINTER, NULL, 2, |
2885 gaim_value_new(GAIM_TYPE_SUBTYPE, | 2891 gaim_value_new(GAIM_TYPE_SUBTYPE, |
2886 GAIM_SUBTYPE_CONVERSATION), | 2892 GAIM_SUBTYPE_CONVERSATION), |