Re: Compile Line for GnomeVFS Programs.

2005-02-07 Thread Allin Cottrell
On Mon, 7 Feb 2005, Tony Freeman wrote: Every time I try to compile a program that has a "#include " I run into problems. For example: I have just finished typing in the sample program located at: http://developer.gnome.org/doc/API/2.0/gnome-vfs-2.0/gnome-vfs-first-steps.html Now I want to compil

Compile Line for GnomeVFS Programs.

2005-02-07 Thread Tony Freeman
I believe I'm missing some development libraries, namely gnome-2.8. What would be the name of the development packages that I would need to install? My distribution is Debian, so I've looked all over Synaptic for development libraries and I've installed a bunch of "dev" packages that seem to fit t

Receiving multiple lines with g_io_channel_read_line

2005-02-07 Thread ANDREW GATT
Hi, I've had some sucess using g_io_channel_read_line to receive terminated lines from a fifo formed with a server app i wrote. However i need to receive unknown amounts of bytes with line terminators until a final escape character is received, then act on this packet. Is this possible to do in on

Re: sort list_store

2005-02-07 Thread Marcus von Appen
On, Mon Feb 07, 2005, ALLs soft wrote: > how to sort a list_store? > > please help. > > thanks... > http://scentric.net/tutorial/sec-sorting.html Regards Marcus -- We don't understand the software, and sometimes we don't understand the hardware, but we can *see* the blinking lights! _

Re: Memory allocation in Windows error

2005-02-07 Thread edward hage
Tor Lillqvist wrote: edward hage writes: > I wrote a GTK-application in Linux and it works fine. That might just be a coincidence, it might *seem* to work fine, with some input data. Have you run it under valgrind on Linux? I never tried valgrind, I have it on my computer so just used it. I don't

sort list_store

2005-02-07 Thread ALLs soft
how to sort a list_store? please help. thanks... -- No virus found in this outgoing message. Checked by AVG Anti-Virus. Version: 7.0.300 / Virus Database: 265.8.5 - Release Date: 3.2.2005 ___ gtk-app-devel-list mailing list gtk-app-devel-list@gnome.org ht

getting the height of all cells in treeview

2005-02-07 Thread Stefan Kost
hi hi, I subclass the treeview widget and override its expose handler to overlay custom gfx. Therefore I need to know the height covered by the cells. I currently check allocation and visible rect, but both are way too large if the tree has just a few cells. If the tree has a lot of rows, so that

Re: Memory allocation in Windows error

2005-02-07 Thread Tor Lillqvist
edward hage writes: > I wrote a GTK-application in Linux and it works fine. That might just be a coincidence, it might *seem* to work fine, with some input data. Have you run it under valgrind on Linux? Or, download an evaluation copy of Purify or BoundsChecker for Windows and run it under that.

Memory allocation in Windows error

2005-02-07 Thread edward hage
I wrote a GTK-application in Linux and it works fine. I cross-compiled it with mingw and now I have it running on Windows XP too. However under Windows I get some memory allocation errors which abort the program.In Linux no problems ... I get this error mainly when I am loading a file from disk

Receiving multiple lines with g_io_channel_read_line

2005-02-07 Thread Andrew Gatt
Hi, I've had some sucess using g_io_channel_read_line to receive terminated lines from a fifo formed with a server app i wrote. However i need to receive unknown amounts of bytes with line terminators until a final escape character is received, then act on this packet. Is this possible to do in on

Re: Properly closing GIOChannels?

2005-02-07 Thread Tristan Van Berkom
On Mon, 07 Feb 2005 09:37:34 +0100, Arne Skjaerholt <[EMAIL PROTECTED]> wrote: [...] > /* Unref once for each call to g_io_add_watch and one final time to make > the refcount zero so the object is freed */ > g_io_channel_unref ( io_channel ); > g_io_channel_unref ( io_channel ); > g_io_channel_unre

Properly closing GIOChannels?

2005-02-07 Thread Arne Skjaerholt
Hello all, I've been fiddling a bit with GIOChannels lately and I've been running into some rather annoying segfaults, which I believe to stem from me improperly managing the closing of my GIOChannels. Only problem is, I can't divine from the docs what the proper way to properly close one down is.