Problems uusing g_io_channels



Hi,
when compiling a piece of code (c++) i've written, i get strange
compiler errors about a GIOFunc i've written to use for reading the
output of a client program. in a minute of beeig too angry about this i
deleted all my code (i was beginning a project), so please don't ask for
more info. The only thing i can remember is the difference between

gboolean Client::parseOut (GIOChannel *source, GIOCondition condition,
                           gpointer data);

and

athe kind of funktion the compiler searched for:
gboolean (*) (struct GIOChannel*, enum GIOCondition,
              gpointer)

If you've got a small piece of working g_io_channel code (doesn't matter
whether c++ or c) using g_io_add_watch() you could attach to your mail,
i would be very thankful.

--
sven





[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]