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 791921 - gdk/gdkx.h and gdk/gdkwayland.h should be included conditionally
gdk/gdkx.h and gdk/gdkwayland.h should be included conditionally
Status: RESOLVED FIXED
Product: rygel
Classification: Applications
Component: Examples
git master
Other FreeBSD
: Normal normal
: ---
Assigned To: rygel-maint
rygel-maint
Depends on:
Blocks:
 
 
Reported: 2017-12-24 14:02 UTC by Ting-Wei Lan
Modified: 2017-12-24 14:22 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
examples: Fix build when wayland backend is disabled in GTK+ (1.52 KB, patch)
2017-12-24 14:04 UTC, Ting-Wei Lan
committed Details | Review

Description Ting-Wei Lan 2017-12-24 14:02:04 UTC
gdk/gdkx.h and gdk/gdkwayland.h are only available when the corresponding GTK+ backends are enabled. Including them unconditionally in file examples/fullscreen-renderer.c can cause compilation error on non-wayland systems.
Comment 1 Ting-Wei Lan 2017-12-24 14:04:05 UTC
Created attachment 365934 [details] [review]
examples: Fix build when wayland backend is disabled in GTK+
Comment 2 Jens Georg 2017-12-24 14:21:58 UTC
Attachment 365934 [details] pushed as 0ead1eb - examples: Fix build when wayland backend is disabled in GTK+
Comment 3 Jens Georg 2017-12-24 14:22:14 UTC
Thanks