Re: latest glib and gtk for Windows?

2009-04-21 Thread Gabriele Greco
On Sun, Apr 19, 2009 at 5:53 PM, Tor Lillqvist t...@iki.fi wrote: I don't mean to be a pest, but when might glib 2.20.1 and gtk 2.16.1 become available at http://www.gtk.org/download-windows.html ? Soon... Been a bit busy with other hackinh. About this issue, I've been able to build the

Re: latest glib and gtk for Windows?

2009-04-21 Thread Gabriele Greco
On Tue, Apr 21, 2009 at 11:16 AM, Tor Lillqvist t...@iki.fi wrote: Soon... The binaries are at the usual place (http://ftp.gnome.org/pub/GNOME/binaries/win32/gtk+/2.16/ etc) but the http://www.gtk.org/download-windows.html page has not updated, apparently thanks to some missing git hooks or

RE: How to build GTK+ AP for ARM based of Linux platform at x86 machines

2009-04-21 Thread Aries Huang
Hi, Could you help to solve this problem? I use arm-gcc-4.1.2-glibc-2.5 to compile GTK application in scratchbox. That system will display these error messages. It seems GTK library EABI version not upgrade to version 4 or other problems.

Re: Pass more widgets as gpointer.

2009-04-21 Thread Claudio Saavedra
On Tue, Apr 21, 2009 at 08:57:41AM +0400, Vlad Volodin wrote: Hello, Jens The other way is to make your widgets global. Especially, me? I use GOjects, and always pass self object. For example, I inherit main window object from GtkWindow and later in widgets definition pass itself to

Re: latest glib and gtk for Windows?

2009-04-21 Thread jcupitt
2009/4/21 Gabriele Greco gabriele.gr...@darts.it: About this issue, I've been able to build the whole win32 GTK environment only on WIN32 mingw since all the configure process relies too much on pkg-config to be usable from a cross-compiler (we usually build all of our apps on linux with the

Re: latest glib and gtk for Windows?

2009-04-21 Thread Tor Lillqvist
Soon... The binaries are at the usual place (http://ftp.gnome.org/pub/GNOME/binaries/win32/gtk+/2.16/ etc) but the http://www.gtk.org/download-windows.html page has not updated, apparently thanks to some missing git hooks or whatever. --tml ___

Re: latest glib and gtk for Windows?

2009-04-21 Thread Tor Lillqvist
In the bin directory I can safely remove every binary except: gspawn-win32-helper-console.exe gspawn-win32-helper.exe ... if I only need a RUNTIME package, isn't it? Yes. --tml ___ gtk-app-devel-list mailing list gtk-app-devel-list@gnome.org

Strange GHashTable behaviour

2009-04-21 Thread Luka Napotnik
Hello, I'm experiencing strange GHashTable behaviours when looking up a value throught a string key. I pass the key as a stack-allocated string to the hash table. For most lookups it works flawlessly but sometimes I get an invalid pointer. It even looks normal but data can't be accessed at that

Re: Strange GHashTable behaviour

2009-04-21 Thread Vivien Malerba
2009/4/21 Luka Napotnik luka.napot...@gmail.com Hello, I'm experiencing strange GHashTable behaviours when looking up a value throught a string key. I pass the key as a stack-allocated string to the hash table. For most lookups it works flawlessly but sometimes I get an invalid pointer. It

Re: latest glib and gtk for Windows?

2009-04-21 Thread Allin Cottrell
On Tue, 21 Apr 2009, Tor Lillqvist wrote: Soon... The binaries are at the usual place... Thanks! -- Allin Cottrell Department of Economics Wake Forest University ___ gtk-app-devel-list mailing list gtk-app-devel-list@gnome.org

Re: Strange GHashTable behaviour

2009-04-21 Thread Luka Napotnik
The problem is in the returned value. It returns an invalid pointer instead of NULL. Greets, Luka Dne 21.04.2009 (tor) ob 17:19 +0200 je Vivien Malerba zapisal(a): 2009/4/21 Luka Napotnik luka.napot...@gmail.com Hello, I'm experiencing strange GHashTable

Re: GLib plans for the next cycle

2009-04-21 Thread Alexander Larsson
On Mon, 2009-04-20 at 18:45 -0400, Allin Cottrell wrote: On Mon, 20 Apr 2009, Alexander Larsson wrote: gvfs needs a session bus, not a system bus, so you're falling back to a non-gvfs system. Thus no http support. OK, I suppose I can get this working on my own system, but my main point

Re: GLib plans for the next cycle

2009-04-21 Thread Brian J. Tarricone
Alexander Larsson wrote: On Mon, 2009-04-20 at 18:45 -0400, Allin Cottrell wrote: On Mon, 20 Apr 2009, Alexander Larsson wrote: gvfs needs a session bus, not a system bus, so you're falling back to a non-gvfs system. Thus no http support. OK, I suppose I can get this working on my own

Re: Using By-Value Compound Getters (Re: gtk_widget_get_allocation)

2009-04-21 Thread Kalyanov Dmitry
I think that using pass-by-value struct will bring more headache for language bindings developers, because this complicates ABI and not every language's foreign function interface supports passing structs by value. (I think that passing structs by value is not part of C language, but of C++ (or

Re: Using By-Value Compound Getters (Re: gtk_widget_get_allocation)

2009-04-21 Thread Behdad Esfahbod
On 04/21/2009 04:11 PM, Kalyanov Dmitry wrote: I think that using pass-by-value struct will bring more headache for language bindings developers, because this complicates ABI and not every language's foreign function interface supports passing structs by value. (I think that passing structs by

Re: Using By-Value Compound Getters (Re: gtk_widget_get_allocation)

2009-04-21 Thread Cody Russell
On Tue, 2009-04-21 at 20:00 +0200, Tim Janik wrote: To sum up our getter options: a) /* force adding lots of helper variables into user code */ void gtk_widget_get_allocation (GtkWidget *widget, GtkAllocation *allocation); b) /*