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 615028 - gdk/x11/gdkdnd-x11.c missing Xutil.h
gdk/x11/gdkdnd-x11.c missing Xutil.h
Status: RESOLVED FIXED
Product: gtk+
Classification: Platform
Component: Backend: X11
2.20.x
Other Solaris
: Normal blocker
: ---
Assigned To: gtk-bugs
gtk-bugs
: 610966 (view as bug list)
Depends on:
Blocks:
 
 
Reported: 2010-04-07 01:53 UTC by Philip Brown
Modified: 2010-05-03 06:23 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
Add Xutil.h (821 bytes, patch)
2010-04-08 15:50 UTC, Javier Jardón (IRC: jjardon)
committed Details | Review

Description Philip Brown 2010-04-07 01:53:49 UTC
gdk/x11/gdkdnd-x11.c needs

#include <X11/Xutil.h>

after the include of Xlib.h
(just like gdkwindow-x11.c already has!)

otherwise, inclusion of shape.h triggers an unknown type error for Region, and compile fails.
Comment 1 Tim Mooney 2010-04-08 15:29:00 UTC
I also ran into this exact same issue on x86_64-sun-solaris2.10, and Philip's suggested fix resolved the issue for me.
Comment 2 Javier Jardón (IRC: jjardon) 2010-04-08 15:50:43 UTC
Created attachment 158215 [details] [review]
Add Xutil.h

Trivial patch
Comment 3 Javier Jardón (IRC: jjardon) 2010-04-18 17:55:00 UTC
Comment on attachment 158215 [details] [review]
Add Xutil.h

commit 791962e06d0511c5e9435acb569a60b34fc279cf
Comment 4 Javier Jardón (IRC: jjardon) 2010-04-18 17:55:50 UTC
This problem has been fixed in the development version. The fix will be available in the next major software release. Thank you for your bug report.
Comment 5 Javier Jardón (IRC: jjardon) 2010-04-18 17:57:30 UTC
Committed also in the stable 2.20 branch in commit e6df42a9d7188af0c0b4b0f5973b2bd296ddd5ed
Comment 6 Arnaud Charlet 2010-05-03 06:23:18 UTC
*** Bug 610966 has been marked as a duplicate of this bug. ***