Using purple with non-glib mainloop

Sevcsik András sevcsik at gmail.com
Mon Jul 2 00:02:04 EDT 2007


Thanks for the help, I was just hoping there's a more convenient way :)

2007/7/2, Ethan Blanton <elb at pidgin.im>:
>
> Sevcsik András spake unto us the following wisdom:
> > I'm trying to use libpurple with Ecore. I've taken a look at
> > PurpleEventLoopUiOps, and I see that the functions have paramater
> signatures
> > that match glib functions.
> > If I want to use Ecore functions here, do I have to wrapper function for
> > each function, to match the parameters? timeout_add and timeout_remove
> > wasn't hard, but input_add is a bit more complex :)
>
> That is precisely what you will need to do.  Depending on what kind of
> interface Ecore provides, this may entail keeping some ancillary state.
>
> Ethan
>
> --
> The laws that forbid the carrying of arms are laws [that have no remedy
> for evils].  They disarm only those who are neither inclined nor
> determined to commit crimes.
>                 -- Cesare Beccaria, "On Crimes and Punishments", 1764
>
> -----BEGIN PGP SIGNATURE-----
> Version: GnuPG v1.4.6 (GNU/Linux)
>
> iD8DBQFGiDJ1r9kA9Ig8HBQRAiZaAKCUWF6D9HepQQ5k2kMTFiIJK5WZQgCfW09n
> SmgtbCC1NmEvzjEVyrXsxQs=
> =qoU6
> -----END PGP SIGNATURE-----
>
> _______________________________________________
> Devel mailing list
> Devel at pidgin.im
> http://pidgin.im/cgi-bin/mailman/listinfo/devel
>
>


-- 
Minden jót,
Sevcsik András
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://pidgin.im/pipermail/devel/attachments/20070702/1b38653c/attachment.html>


More information about the Devel mailing list