Re: [gtk-list] Re: does gdk_input_add work at all?
- From: Tommi Leino <namhas netmill fi>
- To: gtk-list redhat com
- Subject: Re: [gtk-list] Re: does gdk_input_add work at all?
- Date: Sat, 29 Aug 1998 18:41:35 +0000
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.
] [Thread Prev