mirror of
https://gitlab.gnome.org/GNOME/nautilus
synced 2024-10-01 05:23:56 +00:00
externalwindow-wayland: Ignore shadowed variable
`x11_interop` is the symbol of a global variable, but gets reused for a local one. We should try to keep this code in sync with xdp-desktop-porta-gnome so, instead of chaning the symbol, ignore the compiler error.
This commit is contained in:
parent
be9297ca9f
commit
c34f16cf49
|
@ -29,6 +29,8 @@
|
|||
#include "mutter-x11-interop-client-protocol.h"
|
||||
#include "shell-dbus.h"
|
||||
|
||||
#pragma GCC diagnostic ignored "-Wshadow"
|
||||
|
||||
#define WAYLAND_HANDLE_PREFIX "wayland:"
|
||||
#define X11_HANDLE_PREFIX "x11:"
|
||||
|
||||
|
|
Loading…
Reference in a new issue