[Gambas-user] Problems with GTK+ programs on recent distributions (Ubuntu 9.10 for example)

Benoît Minisini gambas at ...1...
Mon Nov 2 23:00:47 CET 2009


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




More information about the User mailing list