Re: Installing gtk+2.10.12 issues.

2007-05-29 Thread Yeti
On Wed, May 30, 2007 at 11:23:57AM +1000, Craig Burtenshaw - Sun Microsystems wrote: > I am attempting to installing gtk+ (where I have tried 2.10.12 and 2.9.4), > it configures > fine with the > command - # ./configure --prefix=/usr > > However when I attempt to 'make' the binaries I get th

Installing gtk+2.10.12 issues.

2007-05-29 Thread Craig Burtenshaw - Sun Microsystems
Hi all, I am attempting to installing gtk+ (where I have tried 2.10.12 and 2.9.4), it configures fine with the command - # ./configure --prefix=/usr However when I attempt to 'make' the binaries I get the following at the end. config.status: executing gdk/gdkconfig.h commands config.status

Re: Data available for reading in a GIOChannel

2007-05-29 Thread Ana
Looking at the glib source here: glib/giochannel.c glib/giochannel.h glib/giounix.c You can see that, at least on a *nix machine, g_io_channel_read_chars() calls the c library read() on a file descriptor in the GIOChannel struct. The segment:

Re: Data available for reading in a GIOChannel

2007-05-29 Thread Robert Pearce
On Tue, 29 May 2007, Jonathan Winterflood <[EMAIL PROTECTED]> wrote : > >A question arises, though: is it possible that the channel will recieve >the last of the data between the >time  g_io_channel_read_chars  returns G_IO_STATUS_AGAIN and the callbac >k exits, and that the callback will not be

Re: Data available for reading in a GIOChannel

2007-05-29 Thread Jonathan Winterflood
Thanks for your precisions on where this difference comes from :) I guess g_io_channel_set_flags(_channel, G_IO_FLAG_NONBLOCK, NULL); is good for switching to non-blocking mode. A question arises, though: is it possible that the channel will recieve the last of the data between the time g_io

Re: Data available for reading in a GIOChannel

2007-05-29 Thread Travis Miller
Callbacks on a GIOChannel (as described) are re-entrant!. I know since i have hit this problem. Essentially you must read what you can. If its a socket you would have soimething like bytes_read = recv( fd, ( void * ) ( &buffer[ current_byte ] ), expected_size );

Re: Data available for reading in a GIOChannel

2007-05-29 Thread Paul Davis
On Mon, 2007-05-28 at 17:26 +0200, Jonathan Winterflood wrote: > Hi, > > > you never know how much readable data is available until you read > it, you are only ever guaranteed to have one byte of data available > for reading anyway. > > In my opinion, the channel should _always_ know how much dat

Re: Data available for reading in a GIOChannel

2007-05-29 Thread Jonathan Winterflood
Hi, you never know how much readable data is available until you read it, you are only ever guaranteed to have one byte of data available for reading anyway. In my opinion, the channel should _always_ know how much data is available, how can it tell that there is nothing there?... Plus, it can

Re: Regarding gtk

2007-05-29 Thread Yeti
On Tue, May 29, 2007 at 03:51:24PM +0300, Emmanuele Bassi wrote: > > > can you give me the link please.. > > no, because I have no idea whatsoever about what kind of distribution > you are using, and you cannot use RPMs from different distributions. > > use http://rpmfind.net to find the right R

Re: Data available for reading in a GIOChannel

2007-05-29 Thread Alexandre Moreira
On 5/28/07, Ana <[EMAIL PROTECTED]> wrote: > On Mon, May 28, 2007 at 04:42:11PM -0300, Alexandre Moreira wrote: > > On 5/28/07, Robert Pearce <[EMAIL PROTECTED]> wrote: > > > On Sun, 27 May 2007 16:57:03 +0200 Jonathan wrote: > > > > Hi, > > > > > > > > I need to read a large amount of data from a

Re: Regarding gtk

2007-05-29 Thread Emmanuele Bassi
again: you should reply to the list, not to me. On Tue, 2007-05-29 at 18:13 +0530, Sashi Kiran Akella wrote: > Emmanuele Bassi wrote: > >>>gtk+ 2.4 was released more than three years ago and is unmaintained. are > >>>you sure you want to use it? > >>> > >>>I don't think there's a distribution sti

Re: Regarding gtk

2007-05-29 Thread Emmanuele Bassi
you should reply to the list, not to me. On Tue, 2007-05-29 at 18:03 +0530, Sashi Kiran Akella wrote: > Emmanuele Bassi wrote: > > >gtk+ 2.4 was released more than three years ago and is unmaintained. are > >you sure you want to use it? > > > >I don't think there's a distribution still shipping

Re: Regarding gtk

2007-05-29 Thread Emmanuele Bassi
On Tue, 2007-05-29 at 17:51 +0530, Sashi Kiran Akella wrote: > Please any one help me in getting an rpm for gtk+-2.4. gtk+ 2.4 was released more than three years ago and is unmaintained. are you sure you want to use it? I don't think there's a distribution still shipping a package for that releas

Regarding gtk

2007-05-29 Thread Sashi Kiran Akella
Please any one help me in getting an rpm for gtk+-2.4. Sashi ___ gtk-list mailing list gtk-list@gnome.org http://mail.gnome.org/mailman/listinfo/gtk-list