Getting data from signals
kevin.macksamie at gmail.com
Fri Jun 11 11:00:28 EDT 2010
Please ignore my previous message. I have resolved the issue. Thank you.
On Fri, Jun 11, 2010 at 10:56 AM, Kevin Macksamie <kevin.macksamie at gmail.com
> I am trying to get the account information upon a connection and a received
> IM, so I am trying to follow the tutorial here:
> I am having trouble setting up the marshal function. The compiler keeps
> telling me purple_marshal_VOID_POINTER is undeclared. I am including
> signals.h. I'm sure I am not including some file, but I can't for the life
> of me figure out which one.
> Here's my code thus far:
> void *data_im, *data_conn;
> /* Register signals with callbacks */
> purple_value_new(PURPLE_TYPE_SUBTYPE, PURPLE_SUBTYPE_ACCOUNT));
> /* Connect our signal handlers to specific signals we care about */
> purple_signal_connect(purple_connections_get_handle(), "signed-on",
> plugin, PURPLE_CALLBACK(signed_on), data_im);
> plugin, PURPLE_CALLBACK(received_msg), data_conn);
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Support