libpurple, the nullclient and AIM
Daniel Atallah
daniel.atallah at gmail.com
Tue Jul 7 01:28:35 EDT 2009
On Jul 7, 2009, at 0:24, Jeremy Trammell - Setaris <jeremy.trammell at setaris.com
> wrote:
> I've done a variety of things towards that end, but to keep things
> simple I am now focusing on simply using the example nullclient
> code, as provided, which does pass a set of glib io handlers in the
> PurpleEventLoopUiOps structure.
>
> static PurpleEventLoopUiOps glib_eventloops =
> {
> g_timeout_add,
> g_source_remove,
> glib_input_add,
> g_source_remove,
> NULL,
> #if GLIB_CHECK_VERSION(2,14,0)
> g_timeout_add_seconds,
> #else
> NULL,
> #endif
>
> /* padding */
> NULL,
> NULL,
> NULL
> };
That isn't going to work like that - g_input_add on glib >= 2.8 runs
into the problem you're seeing. You need to use the version in
libpurple (which is based on an older glib version).
-D
More information about the Support
mailing list