Re: Watch not working correctly since linc 0.1.12
- From: Roland Juelich <rj atecom com>
- To: Michael Meeks <michael ximian com>
- Cc: orbit-list gnome org
- Subject: Re: Watch not working correctly since linc 0.1.12
- Date: Thu, 10 Jan 2002 14:53:25 +0100 (MET)
Hi Michael,
On 10-Jan-2002 Michael Meeks wrote:
> Hi Roland,
>
> On Thu, 2002-01-10 at 11:51, Roland Juelich wrote:
>> In my application, I may use the file descriptor directly to read the
>> channel.
>> If that is what you want, you probably should make the new
>> linc_io_add_watch_fd() public instead of linc_io_add_watch().
>
> Yes; that's true - however we are in an API freeze, personally I would
> just whack that prototype in a header of your choosing in your project
> if you want to use that API - I can't see it changing anytime soon.
>
That was my first approach.
> Or just create a throwaway GIOChannel to pass the fd to the public
> add_watch API.
>
> Were you using g_io_channel to do anything useful ?
Just to not have to define the file descriptor global.
> alternatively of
> course, you could hack up a patch to ensure that the GIOChannel gets set
> on the source to whatever value is passed in or NULL - how does that
> sound ? I'd be happy to commit that. Perhaps that solves your problem
> more elegantly.
>
I'd hoped you say that. Here comes the patch.
> Apologies for the loss of service :-)
>
Don't bother, it's back again.
> Regards,
>
> Michael.
Roland.
--
ATecoM GmbH Date: 10-Jan-2002
Kaiserstrasse 100 Time: 14:47:08
D-52134 Herzogenrath
E-Mail: Juelich@ATecoM.com
Tel.: +49-2407-9586-0
Fax.: +49-2407-9586-901
--------------------------------------------
linc.patch
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]