pidgin/plugins/crazychat/cc_pidgin_plugin.c

branch
soc.2013.gobjectification.plugins
changeset 37153
c0eccc6696da
parent 36367
891eea799578
parent 36110
63663622e327
equal deleted inserted replaced
37152:b32b5689bbbf 37153:c0eccc6696da
69 * @param account the account we are displaying the IM on 69 * @param account the account we are displaying the IM on
70 * @param conv the conversation we are displaying the IM on 70 * @param conv the conversation we are displaying the IM on
71 * @param message the message we are displaying 71 * @param message the message we are displaying
72 * @param data user data 72 * @param data user data
73 */ 73 */
74 static gboolean display_im_cb(PurpleAccount *account, const char *who, char **message, 74 static gboolean display_im_cb(PurpleConversation *conv, PurpleMessage *pmsg, gpointer data);
75 PurpleConnection *conv, PurpleMessageFlags flags, void *data);
76 75
77 /** 76 /**
78 * Callback for CrazyChat plugin configuration frame 77 * Callback for CrazyChat plugin configuration frame
79 * @param plugin the plugin data 78 * @param plugin the plugin data
80 * @return the configuration frame 79 * @return the configuration frame
245 } 244 }
246 245
247 return FALSE; 246 return FALSE;
248 } 247 }
249 248
250 static gboolean display_im_cb(PurpleAccount *account, PurpleConversation *conv, 249 static gboolean
251 char **message, void *data) 250 display_im_cb(PurpleConversation *conv, PurpleMessage *pmsg, gpointer data);
252 { 251 {
253 struct crazychat *cc; 252 struct crazychat *cc;
254 253
255 cc = (struct crazychat*)data; 254 cc = (struct crazychat*)data;
256 assert(cc); 255 assert(cc);

mercurial