Crash processing g_object_new arguments

2009-11-09 Thread Braden McDaniel
Does this backtrace suggest anything reasonably concrete to anyone here? #0 strchr () at ../sysdeps/x86_64/strchr.S:33 #1 0x003834814e1d in IA__g_param_spec_pool_lookup (pool=0x6cc500, param_name=0x7fff Address 0x7fff out of bounds,

Re: Crash processing g_object_new arguments

2009-11-09 Thread David Nečas
On Mon, Nov 09, 2009 at 03:24:04AM -0500, Braden McDaniel wrote: OpenvrmlXembedBrowser * const browser = OPENVRML_XEMBED_BROWSER( g_object_new(OPENVRML_XEMBED_TYPE_BROWSER, control-host-proxy, host_proxy,

Re: Crash processing g_object_new arguments

2009-11-09 Thread Nicola Fontana
Il giorno Mon, 09 Nov 2009 03:24:04 -0500 Braden McDaniel bra...@endoframe.com ha scritto: Clearly the Address ... out of bounds looks fishy; but I'm just not seeing what could be a problem there; and I'm wondering if gdb isn't just messing with me. The call site for

Re: Crash processing g_object_new arguments

2009-11-09 Thread Murray Cumming
On Mon, 2009-11-09 at 09:32 +0100, Nicola Fontana wrote: Il giorno Mon, 09 Nov 2009 03:24:04 -0500 Braden McDaniel bra...@endoframe.com ha scritto: Clearly the Address ... out of bounds looks fishy; but I'm just not seeing what could be a problem there; and I'm wondering if gdb isn't

Re: Crash processing g_object_new arguments

2009-11-09 Thread Lars Wirzenius
On Mon, 2009-11-09 at 09:32 +0100, Nicola Fontana wrote: Change 0 to NULL: on 64 bit platforms 0 != NULL, hence the property list is not terminated. Even better, in C, is to use (void *)0 or (void *)NULL, since in C it is acceptable for NULL to be #defined as 0, even though that tends to make

Control what happens when GtkTextView is resized: keep the bottom part visible

2009-11-09 Thread Eduardo M KALINOWSKI
I have a question concerning how to set which part of a GtkTextBuffer is displayed when a GtkTextView is resized. To explain the situation, consider this sample code: 8 /* gcc -o tvtest tvtest.c `pkg-config --libs --cflags gtk+-2.0` */ #include gtk/gtk.h int main(int argc, char *argv[])

Re: adding transparency to Gtk widgets

2009-11-09 Thread harshavardhanreddy mandeepala
Hi Ce, Thanks for your help. It is working fine. Now i could able to display my application with transparancy support. But is there any way to add this into gtkrc file. I mean some thing like alpha =0.6 so that for all the applications the alpha value will be 0.6. and all the applications

Re: Crash processing g_object_new arguments

2009-11-09 Thread erniew
David Nečas wrote: On Mon, Nov 09, 2009 at 03:24:04AM -0500, Braden McDaniel wrote: OpenvrmlXembedBrowser * const browser = OPENVRML_XEMBED_BROWSER( g_object_new(OPENVRML_XEMBED_TYPE_BROWSER, control-host-proxy, host_proxy, control-host-name, host_name, dbus-thread-context,

Re: Crash processing g_object_new arguments

2009-11-09 Thread Jim George
I've never come across this problem since I've never used any headers that re-define NULL, nor have I used gobject with C++, but it seems like enough of a gotcha that it might make sense to define another constant (G_ARG_TERM?) that always maps to (void *) and use that with all the glib functions

Re: Crash processing g_object_new arguments

2009-11-09 Thread David Nečas
On Mon, Nov 09, 2009 at 03:17:24PM +, ern...@comcast.net wrote: 0 *is* NULL, in pointer contexts. In fact, some compilers define NULL using #define NULL 0 So using NULL instead of 0, by itself, won't necessarily address the problem, although it will if the definition happens to be

Re: Crash processing g_object_new arguments

2009-11-09 Thread Dave Howorth
David Nečas wrote: The real problem is `pointers are integers' from the dark times of C. BCPL created many positive influences but this wasn't its finest feature. At least as seen with the benefit of hindsight! Cheers, Dave ___ gtk-app-devel-list

Re: Crash processing g_object_new arguments

2009-11-09 Thread Braden McDaniel
On Mon, 2009-11-09 at 09:32 +0100, Nicola Fontana wrote: Il giorno Mon, 09 Nov 2009 03:24:04 -0500 Braden McDaniel bra...@endoframe.com ha scritto: Clearly the Address ... out of bounds looks fishy; but I'm just not seeing what could be a problem there; and I'm wondering if gdb isn't

Re: Unsubscribe

2009-11-09 Thread Christian Dywan
Am Mon, 9 Nov 2009 03:28:57 -0800 schrieb Shashidhara B shashidhar...@mphasis.com: Hi, Kindly unsubscribe from the mailing list. Regards, Shashi Please use http://mail.gnome.org/mailman/listinfo/gtk-devel-list like everyone else to unsubscribe yourself. You managed to subscribe on your

Re: RFC: Adding zlib dependency to libgio

2009-11-09 Thread Alexander Larsson
On Mon, 2009-11-09 at 12:23 +0100, Alexander Larsson wrote: On Sun, 2009-11-08 at 21:24 +0100, nf2 wrote: Obviously some could could be shared, but a straight dependency on libgio isn't necessary. Eh, some code could be shared is what i meant. ___

Re: RFC: Adding zlib dependency to libgio

2009-11-09 Thread Bastien Nocera
On Mon, 2009-11-09 at 12:17 +0100, Alexander Larsson wrote: On Sun, 2009-11-08 at 12:01 +0100, Martin Nordholts wrote: On 11/08/2009 10:54 AM, Alexander Larsson wrote: I've been working on some API for gio (more details later) that involves having an API for (de)compression. Having this

Re: GDBus API Questions; was: GDBus/GVariant plans for next GLib release

2009-11-09 Thread David Zeuthen
Hey Mikkel, Sorry for not replying sooner! On Wed, 2009-10-28 at 21:23 +0100, Mikkel Kamstrup Erlandsen wrote: Attached is a series of patches (0001 should be identical to my previous) implementing what you describe, except adding the gboolean enumerated arg to @introspect and @dispatch. I

Re: GVariant support for Unix fds (Was Re: GDBus/GVariant plans for next GLib release)

2009-11-09 Thread David Zeuthen
Hey Ryan, Sorry for the lag, On Sat, 2009-10-31 at 17:27 -0400, Ryan Lortie wrote: On Tue, 2009-10-20 at 11:17 -0400, David Zeuthen wrote: So how about something like 1. and 2. below? We'd put g_dbus_connection_get_handle_for_unix_fd() g_dbus_connection_set_handle_for_unix_fd() I

Re: GDBus/GVariant plans for next GLib release

2009-11-09 Thread David Zeuthen
Hey Alex, On Fri, 2009-11-06 at 21:05 +0100, Alexander Larsson wrote: On Wed, 2009-10-14 at 21:34 -0400, David Zeuthen wrote: http://cgit.freedesktop.org/~david/gdbus-standalone/ I just read through this for basic review, and I must say that I like it. Very nice stuff. Some comments:

Re: RFC: Adding zlib dependency to libgio

2009-11-09 Thread nf2
On Mon, Nov 9, 2009 at 12:23 PM, Alexander Larsson al...@redhat.com wrote: On Sun, 2009-11-08 at 21:24 +0100, nf2 wrote: On Sun, Nov 8, 2009 at 10:54 AM, Alexander Larsson al...@redhat.com wrote: I've been working on some API for gio (more details later) that involves having an API for

Re: RFC: Adding zlib dependency to libgio

2009-11-09 Thread Dan Winship
On 11/09/2009 07:53 AM, Bastien Nocera wrote: Could this be used by libsoup for websites that zlib-compress their data? It could (and eventually would), but passing data to zlib isn't the hard part of the problem there. (And this will actually be working in libsoup in 2.28.2.) -- Dan

Re: RFC: Adding zlib dependency to libgio

2009-11-09 Thread Shaun McCance
On Mon, 2009-11-09 at 12:17 +0100, Alexander Larsson wrote: On Sun, 2009-11-08 at 12:01 +0100, Martin Nordholts wrote: On 11/08/2009 10:54 AM, Alexander Larsson wrote: I've been working on some API for gio (more details later) that involves having an API for (de)compression. Having this

Re: GVariant support for Unix fds (Was Re: GDBus/GVariant plans for next GLib release)

2009-11-09 Thread Ryan Lortie
On Mon, 2009-11-09 at 08:21 -0500, David Zeuthen wrote: Sorry for the lag, No problems :) Hmm, I don't like this approach. It means you'd have to pass this GDBusFDSet object around in code you use to build/parse the GVariant. In particular, your proposed GTypeSerializer would need support

Why are no developers completing/maintaining native Gtk+ for OS X?

2009-11-09 Thread Jack Skellington
Hello All I'm currently in charge of the development of a cross-platform OpenGL app which uses GTk+ for it's interface. The app runs on both *nix/X.org and win32 but when I started looking into OS X I found that the Quartz OS X version of Gtk+ is neither complete nor being actively developed. I

Re: Why are no developers completing/maintaining native Gtk+ for OS X?

2009-11-09 Thread Michael Natterer
On Mon, 2009-11-09 at 19:10 +0100, Jack Skellington wrote: Hello All I'm currently in charge of the development of a cross-platform OpenGL app which uses GTk+ for it's interface. The app runs on both *nix/X.org and win32 but when I started looking into OS X I found that the Quartz OS X

Re: Why are no developers completing/maintaining native Gtk+ for OS X?

2009-11-09 Thread Kristian Rietveld
On Nov 9, 2009, at 7:10 PM, Jack Skellington wrote: Hello All I'm currently in charge of the development of a cross-platform OpenGL app which uses GTk+ for it's interface. The app runs on both *nix/X.org and win32 but when I started looking into OS X I found that the Quartz OS X version of Gtk+

Re: RFC: Adding zlib dependency to libgio

2009-11-09 Thread nf2
On Mon, Nov 9, 2009 at 4:05 PM, Thiago Macieira thi...@kde.org wrote: Besides, glib is only a dependency of Qt on the X11 platform. I can justify a VFS API that requires D-Bus to work properly (with some effort, on some platforms other IPC mechanisms would be preferable), but I cannot do it if

Re: Why are no developers completing/maintaining native Gtk+ for OS X?

2009-11-09 Thread Allin Cottrell
On Mon, 9 Nov 2009, Kristian Rietveld wrote: No, [the Quartz port of GTK+] is not fully complete, but getting close. Recently, I have been working on reviewing outstanding patches [and other good stuff] ... I do not get paid for this at all. Saying that the OS X port is not being actively

Re: Why are no developers completing/maintaining native Gtk+ for OS X?

2009-11-09 Thread Jacob Juul Kolding
On Nov 9, 2009, at 8:23 PM, Kristian Rietveld wrote: On Nov 9, 2009, at 7:10 PM, Jack Skellington wrote: Hello All I'm currently in charge of the development of a cross-platform OpenGL app which uses GTk+ for it's interface. The app runs on both *nix/X.org and win32 but when I started looking

RE: Why are no developers completing/maintaining native Gtk+ for OS X?

2009-11-09 Thread Shawn Bakhtiar
On Nov 9, 2009, at 7:10 PM, Jack Skellington wrote: Hello All I'm currently in charge of the development of a cross-platform OpenGL app which uses GTk+ for it's interface. The app runs on both *nix/X.org and win32 but when I started looking into OS X I found that the Quartz OS X

RE: Why are no developers completing/maintaining native Gtk+ for OS X?

2009-11-09 Thread Shawn Bakhtiar
To build the latest framework: 1) Get the latest using jhbuild and build 2) http://github.com/jralls/gtk-osx-framework/tree/master/framework/ I think I was able to build the frameworks and compile against them using the Xcode IDE, but I prefer using make and the command line myself. Actually

RE: Why are no developers completing/maintaining native Gtk+ for OS X?

2009-11-09 Thread Allin Cottrell
On Mon, 9 Nov 2009, Shawn Bakhtiar wrote: To build the latest framework: 1) Get the latest using jhbuild and build 2) http://github.com/jralls/gtk-osx-framework/tree/master/framework/ App developer here again: Right now I can get a fully functional GTK+ framework (but one that relies on

Re: Why are no developers completing/maintaining native Gtk+ for OS X?

2009-11-09 Thread Jacob Juul Kolding
On Nov 10, 2009, at 1:05 AM, Shawn Bakhtiar wrote: To build the latest framework: 1) Get the latest using jhbuild and build 2) http://github.com/jralls/gtk-osx-framework/tree/master/framework/ I know absolutely nothing about jhbuild + URL, could you please list all commands needed?

Re: gtk_test_find_widget bug?

2009-11-09 Thread Michael Libby
On Mon, Nov 9, 2009 at 3:57 PM, Michael Libby michael.c.li...@gmail.com wrote: This seems to be either a bug in my understanding of how to use this functionality or a bug in the gtk_test_find_widget function itself. After reading the source for the various gtk_test_find_* functions and the

Re: Why are no developers completing/maintaining native Gtk+ for OS X?

2009-11-09 Thread Jacob Juul Kolding
On Nov 10, 2009, at 3:34 AM, Jacob Juul Kolding wrote: On Nov 10, 2009, at 1:05 AM, Shawn Bakhtiar wrote: To build the latest framework: 1) Get the latest using jhbuild and build 2) http://github.com/jralls/gtk-osx-framework/tree/master/framework/ I know absolutely nothing about jhbuild +

Re: Why are no developers completing/maintaining native Gtk+ for OS X?

2009-11-09 Thread Jacob Juul Kolding
On Nov 10, 2009, at 4:03 AM, Jacob Juul Kolding wrote: On Nov 10, 2009, at 3:34 AM, Jacob Juul Kolding wrote: On Nov 10, 2009, at 1:05 AM, Shawn Bakhtiar wrote: To build the latest framework: 1) Get the latest using jhbuild and build 2)

Re: RFC: Adding zlib dependency to libgio

2009-11-09 Thread Paul Davis
On Mon, Nov 9, 2009 at 6:23 AM, Alexander Larsson al...@redhat.com wrote: I know you're really interested in cross-desktop VFS support, and I don't disagree with having something like that. However, the fact is that libGIO is an important part of the Gtk development stack, that contains all