On Jul 7, 2009, at 0:24, Jeremy Trammell - Setaris <jeremy.tramm...@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

_______________________________________________
Support@pidgin.im mailing list
Want to unsubscribe?  Use this link:
http://pidgin.im/cgi-bin/mailman/listinfo/support

Reply via email to