Sending a buddy request in ICQ fails when using libpurple
michaelcbrook at msn.com
michaelcbrook at msn.com
Thu Aug 6 04:08:58 EDT 2009
> I think you may need to pass parameters to the callback functions.
> The user_data variable passed to your request_input function and the
> message text. See the bottom half of input_response_cb() in
> pidgin/gtkresponse.c for an example. Specifically:
>
> ((PurpleRequestInputCb)data->cbs[id])(data->user_data, value);
>
> -Mark
>
Ok, I'm not sure if this is what you meant, but if I call:
ok_cb(user_data, default_value);
...the compiler complains saying that I have too many arguments. It
won't accept any arguments at all. Am I doing something wrong?
-Michael
More information about the Support
mailing list