GNOME Bugzilla – Bug 611803
gtkglext uses obsolete GTK_WIDGET_TOPLEVEL()
Last modified: 2010-04-25 08:22:21 UTC
Created attachment 155228 [details] [review] Patch to fix the usage of GTK_WIDGET_TOPLEVEL Bug forwarded from downstream bugtracker: https://bugzilla.novell.com/show_bug.cgi?id=585137 <quote who=""> When trying to compile OpenSceneGraph 2.8.2 in OBS it failed for Factory because of an error when using a library from gtkglext package. It seems an error because of use of an obsolete function instead of a replacement one for GTK > 2.20 </quote> Attached patch solves the issue at hand (more migh tbe burried).
In latest git there's a few more deprecated macros: ../gtk/.libs/libgtkglext-x11-1.0.so: undefined reference to `GTK_WIDGET_REALIZED' ../gtk/.libs/libgtkglext-x11-1.0.so: undefined reference to `GTK_WIDGET_TOPLEVEL' ../gtk/.libs/libgtkglext-x11-1.0.so: undefined reference to `GTK_WIDGET_NO_WINDOW'
Created attachment 159184 [details] patch that fix all deprecated macros
Created attachment 159208 [details] second try is with luck
(In reply to comment #3) > Created an attachment (id=159208) [details] > second try is with luck not enough luck, it looks you missed examples/ :)
Created attachment 159249 [details] [review] including examples
(In reply to comment #5) > Created an attachment (id=159249) [details] > including examples compiles fine, thanks a lot.
Thanks. This has been committed.