Hi,

I found where the problem comes from: GTK+ 2.18 is not fully backward 
compatible with previous versions of GTK+. 

Good idea to do that without changing the major version number of the 
library...

There is a workaround: define the environment variable GDK_NATIVE_WINDOWS, and 
GTK+ (GDK actually) will try its best to behave like the older version.

More information at http://library.gnome.org/devel/gtk/2.18/gtk-migrating-
ClientSideWindows.html.

Now I will try to modify the gb.gtk component in the hope of making it work 
correctly again. But I'm not sure it will be possible, as the changes in the 
library are deep, and may not be well documented. 

If I cannot succeed, I will define GDK_NATIVE_WINDOWS automatically - You will 
lose the new "client-side window" feature of GTK+ 2.18, but your application 
will work again.

Regards,

-- 
Benoît Minisini

------------------------------------------------------------------------------
Come build with us! The BlackBerry(R) Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay 
ahead of the curve. Join us from November 9 - 12, 2009. Register now!
http://p.sf.net/sfu/devconference
_______________________________________________
Gambas-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/gambas-user

Reply via email to