comparison libpurple/conversation.c @ 16442:08db93bbd798

Added account, who, and conversation parameters to the request API calls, and updated all code to match. I can't compile the Perl module, so I'd appreciate it if someone who knows it would verify that this doesn't break Perl.
author Evan Schoenberg <evan.s@dreskin.net>
date Thu, 26 Apr 2007 12:25:49 +0000
parents 4999bbc52881
children 5e47b3427b28 bf77cf06b082
comparison
equal deleted inserted replaced
16438:a46a0362dc34 16442:08db93bbd798
1157 text = g_strdup_printf("You are about to send the following message:\n%s", message); 1157 text = g_strdup_printf("You are about to send the following message:\n%s", message);
1158 data = g_new0(gpointer, 2); 1158 data = g_new0(gpointer, 2);
1159 data[0] = conv; 1159 data[0] = conv;
1160 data[1] = (gpointer)message; 1160 data[1] = (gpointer)message;
1161 1161
1162 purple_request_action(conv, NULL, _("Send Message"), text, 0, data, 2, 1162 purple_request_action(conv, NULL, _("Send Message"), text, 0,
1163 _("_Send Message"), G_CALLBACK(purple_conv_send_confirm_cb), 1163 purple_conversation_get_account(conv), NULL, conv,
1164 _("Cancel"), NULL); 1164 data, 2,
1165 _("_Send Message"), G_CALLBACK(purple_conv_send_confirm_cb),
1166 _("Cancel"), NULL);
1165 } 1167 }
1166 1168
1167 void 1169 void
1168 purple_conv_im_send_with_flags(PurpleConvIm *im, const char *message, PurpleMessageFlags flags) 1170 purple_conv_im_send_with_flags(PurpleConvIm *im, const char *message, PurpleMessageFlags flags)
1169 { 1171 {