wayland: Don't assume the shell protocol
authorMatthias Clasen <mclasen@redhat.com>
Tue, 22 Aug 2023 12:26:22 +0000 (08:26 -0400)
committerMatthias Clasen <mclasen@redhat.com>
Thu, 24 Aug 2023 14:27:02 +0000 (10:27 -0400)
commitff56029ccc2ebd55b992c60f4be2ab471ce9da35
treef3a7766afff11b3622cbbcd34fa098a45fda7b43
parent0f67d6137977552b1da291e874f6bf081f8d8630
wayland: Don't assume the shell protocol

The gtk_shell proxy will be NULL if the compositor
is not gnome-shell. Handle that without crashing.

Fixes: #6048
gdk/wayland/gdkapplaunchcontext-wayland.c