Please ignore my previous message. I have resolved the issue. Thank you. -Kevin
On Fri, Jun 11, 2010 at 10:56 AM, Kevin Macksamie <kevin.macksa...@gmail.com > wrote: > Hi, > > I am trying to get the account information upon a connection and a received > IM, so I am trying to follow the tutorial here: > http://developer.pidgin.im/doxygen/dev/html/signal-howto.html > > 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_signal_register( > purple_plugins_get_handle(), > "received-im-msg", > purple_marshal_VOID_POINTER, > NULL, > 1, > 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); > purple_signal_connect(purple_connections_get_handle(), > "received-im-msg", > plugin, PURPLE_CALLBACK(received_msg), data_conn); >
_______________________________________________ Support@pidgin.im mailing list Want to unsubscribe? Use this link: http://pidgin.im/cgi-bin/mailman/listinfo/support