diff options
author | Bastien Nocera <hadess@hadess.net> | 2021-10-11 13:55:35 +0200 |
---|---|---|
committer | Bastien Nocera <hadess@hadess.net> | 2021-10-11 20:36:53 +0200 |
commit | fc32c19ca7506aaf08b634916620ecbe699b51c0 (patch) | |
tree | 58aea0e3d50805535c03a77242970d758d66c22d /gdk/broadway | |
parent | e6ae3b8a2befa0be0752310ca862da532cfb6bd4 (diff) | |
download | gtk+-fc32c19ca7506aaf08b634916620ecbe699b51c0.tar.gz |
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"
Diffstat (limited to 'gdk/broadway')
-rw-r--r-- | gdk/broadway/gdkdisplay-broadway.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gdk/broadway/gdkdisplay-broadway.c b/gdk/broadway/gdkdisplay-broadway.c index dff9f796a4..fcf7db820b 100644 --- a/gdk/broadway/gdkdisplay-broadway.c +++ b/gdk/broadway/gdkdisplay-broadway.c @@ -213,7 +213,7 @@ _gdk_broadway_display_open (const char *display_name) broadway_display->server = _gdk_broadway_server_new (display, display_name, &error); if (broadway_display->server == NULL) { - g_debug ("Unable to init Broadway server: %s\n", error->message); + GDK_NOTE (MISC, g_message ("Unable to init Broadway server: %s\n", error->message)); g_error_free (error); return NULL; } |