Using purple with non-glib mainloop
elb at pidgin.im
Sun Jul 1 19:02:13 EDT 2007
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.
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
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 189 bytes
Desc: Digital signature
More information about the Devel