status

squeak at poczta.onet.pl squeak at poczta.onet.pl
Mon Sep 22 15:21:53 EDT 2008


 How can I chenge the status ?

I wrote something like this:
 const char *id = purple_primitive_get_id_from_type(g_status);
 PurpleStatusPrimitive psp = purple_primitive_get_type_from_id( id );
 PurpleStatusType *pst = purple_status_type_new( psp, id, 0, FALSE );
 PurplePresence *pp = purple_presence_new_for_account(pAccount.icq);
 PurpleStatus *ps = purple_status_new( pst, pp);
 purple_status_set_active( ps, TRUE );

but it doesn't work

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://pidgin.im/pipermail/devel/attachments/20080922/5da2a8a1/attachment.html>


More information about the Devel mailing list