Fundamental Type Registration

2006-07-26 Thread Kaustubh Atrawalkar
Hi All, GObject: I have some conflicts about fundamental type registration mechanism. How can i create a instance of new fundamental type that i have created. I used g_type_create_instance() but when i call this function the next line the program crashes and exits. Also how a fundamental type r

Re: Help in debugging the DirectFB backend

2006-07-26 Thread Attilio Fiandrotti
Carl Worth wrote: > On Thu, 27 Jul 2006 01:06:43 +0200, Attilio Fiandrotti wrote: > >>I think cairodfb or gdkdfb must previously have corrupted memory >>somewhere, but i can't detect when nor where: can anyone reproduce this >>or give me an hint about how to catch it? > > > Have you tried runn

Re: Help in debugging the DirectFB backend

2006-07-26 Thread Carl Worth
On Thu, 27 Jul 2006 01:06:43 +0200, Attilio Fiandrotti wrote: > I think cairodfb or gdkdfb must previously have corrupted memory > somewhere, but i can't detect when nor where: can anyone reproduce this > or give me an hint about how to catch it? Have you tried running the program under valgrind

Help in debugging the DirectFB backend

2006-07-26 Thread Attilio Fiandrotti
Hi While running gtk applications with the dfb backend i often (but not always) run into a crash that is not reproducible at all with X and hence i think it should be related to cairo-dfb or gdk-dfb. I'm usually able to reproduce it by running the gtk-demo app, opening the hypertext application

Re: gtk+ 2.10.1 + directfb 0.9.25.1 build fails

2006-07-26 Thread Attilio Fiandrotti
Jeremy Laine wrote: > When trying to compile gtk+ 2.10.1 with the DirectFB backend, I ran > into the following compilation error: > > gdkwindow-directfb.c: In function `_gdk_directfb_move_resize_child': > gdkwindow-directfb.c:1303: error: structure has no member named `GetPosition' > > The prob

gtk+ 2.10.1 + directfb 0.9.25.1 build fails

2006-07-26 Thread Jeremy Laine
When trying to compile gtk+ 2.10.1 with the DirectFB backend, I ran into the following compilation error: gdkwindow-directfb.c: In function `_gdk_directfb_move_resize_child': gdkwindow-directfb.c:1303: error: structure has no member named `GetPosition' The problematic code is: //FIXEME shoul