Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 467584 Details for
Bug 613244
gnome-base/gnome-control-center-3.22.2 fails when wayland disabled
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
fix-building-when-wayland-disabled.patch
fix-building-with-wayland-disabled.patch (text/plain), 1.06 KB, created by
Greg Turner
on 2017-03-19 18:00:48 UTC
(
hide
)
Description:
fix-building-when-wayland-disabled.patch
Filename:
MIME Type:
Creator:
Greg Turner
Created:
2017-03-19 18:00:48 UTC
Size:
1.06 KB
patch
obsolete
>From 33d8c94b3e3777bacfd1ac398b73002a4c0db795 Mon Sep 17 00:00:00 2001 >From: Ting-Wei Lan <lantw@src.gnome.org> >Date: Thu, 10 Nov 2016 22:27:11 +0800 >Subject: [PATCH] info: Fix build when Wayland is disabled > >https://bugzilla.gnome.org/show_bug.cgi?id=774324 >--- > panels/info/cc-info-panel.c | 11 +++++++++-- > 1 file changed, 9 insertions(+), 2 deletions(-) > >diff --git a/panels/info/cc-info-panel.c b/panels/info/cc-info-panel.c >index 8d87bc6..3ce8b57 100644 >--- a/panels/info/cc-info-panel.c >+++ b/panels/info/cc-info-panel.c >@@ -351,8 +351,15 @@ get_graphics_data (void) > display = gdk_display_get_default (); > > #if defined(GDK_WINDOWING_X11) || defined(GDK_WINDOWING_WAYLAND) >- if (GDK_IS_X11_DISPLAY (display) || >- GDK_IS_WAYLAND_DISPLAY (display)) >+ gboolean x11_or_wayland = FALSE; >+#ifdef GDK_WINDOWING_X11 >+ x11_or_wayland = GDK_IS_X11_DISPLAY (display); >+#endif >+#ifdef GDK_WINDOWING_WAYLAND >+ x11_or_wayland = x11_or_wayland || GDK_IS_WAYLAND_DISPLAY (display); >+#endif >+ >+ if (x11_or_wayland) > { > char *discrete_renderer = NULL; > char *renderer;
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 613244
: 467584