broadway: Quiet initialisation failures
authorBastien Nocera <hadess@hadess.net>
Mon, 11 Oct 2021 11:55:35 +0000 (13:55 +0200)
committerMatthias Clasen <mclasen@redhat.com>
Sun, 31 Oct 2021 21:52:04 +0000 (17:52 -0400)
commit59dd0dccbf3f11d19f92b5c5a80c3e6c1626a2a3
treed5a607f714e633eb23ec133fdfa0838d6d36a014
parent78d5f16bf7c67ab39a9b19bb20a7ce9d70f09506
broadway: Quiet initialisation failures

Broadway is the only GTK+ backend that throws an error on stderr for a
"display server" connection failure.

This causes problems when gtk_init_check() is used and unexpected error
output is generated such as with hotdoc, which fails when generating a
GTK plugin's documentation instead of overlooking the issue.

"Unable to init server: Could not connect: Connection refused"
gdk/broadway/gdkdisplay-broadway.c