Re: [gtk-list] Re: does gdk_input_add work at all?



Jeremy Wise wrote:

> I am using gdk_input_add just fine with sockets, and I assume files will
> work just as well.  Are you putting "input_callback" in quotes?  That
> argument is a GdkInputFunction, NOT a char *.  Try the following:
> 
> gdk_input_add( fd, GDK_INPUT_READ, (GdkInputFunction) input_callback, NULL );
> 
> and see if that fixes your problem.

Cool, it really fixed it! Thanks.

-- 
Tommi Leino
namhas@netmill.fi http://majik.netti.fi



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