After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 611803 - gtkglext uses obsolete GTK_WIDGET_TOPLEVEL()
gtkglext uses obsolete GTK_WIDGET_TOPLEVEL()
Status: RESOLVED FIXED
Product: gtkglext
Classification: Other
Component: general
master/HEAD
Other Linux
: Normal blocker
: 2.0.0
Assigned To: Braden
Mukund Sivaraman
Depends on:
Blocks:
 
 
Reported: 2010-03-04 14:28 UTC by Dominique Leuenberger
Modified: 2010-04-25 08:22 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
Patch to fix the usage of GTK_WIDGET_TOPLEVEL (469 bytes, patch)
2010-03-04 14:28 UTC, Dominique Leuenberger
none Details | Review
patch that fix all deprecated macros (2.75 KB, application/octet-stream)
2010-04-20 18:24 UTC, Ionut Biru
  Details
second try is with luck (2.75 KB, application/octet-stream)
2010-04-20 22:20 UTC, Ionut Biru
  Details
including examples (3.83 KB, patch)
2010-04-21 12:28 UTC, Ionut Biru
none Details | Review

Description Dominique Leuenberger 2010-03-04 14:28:41 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).
Comment 1 Riccardo Magliocchetti 2010-04-13 15:49:48 UTC
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'
Comment 2 Ionut Biru 2010-04-20 18:24:19 UTC
Created attachment 159184 [details]
patch that fix all deprecated macros
Comment 3 Ionut Biru 2010-04-20 22:20:30 UTC
Created attachment 159208 [details]
second try is with luck
Comment 4 Riccardo Magliocchetti 2010-04-21 09:36:02 UTC
(In reply to comment #3)
> Created an attachment (id=159208) [details]
> second try is with luck

not enough luck, it looks you missed examples/ :)
Comment 5 Ionut Biru 2010-04-21 12:28:48 UTC
Created attachment 159249 [details] [review]
including examples
Comment 6 Riccardo Magliocchetti 2010-04-21 16:47:00 UTC
(In reply to comment #5)
> Created an attachment (id=159249) [details]
> including examples

compiles fine, thanks a lot.
Comment 7 Braden 2010-04-25 08:22:21 UTC
Thanks. This has been committed.