diff options
author | Bastien Nocera <hadess@hadess.net> | 2021-10-11 13:55:35 +0200 |
---|---|---|
committer | Bastien Nocera <hadess@hadess.net> | 2021-10-11 14:01:20 +0200 |
commit | e6ae3b8a2befa0be0752310ca862da532cfb6bd4 (patch) | |
tree | 3073665e37d6d72e8bd9e10b0e8db0c634eda1a7 /gdk | |
parent | 49a64da7ec596631b1c1a52f87b9f310fffc5613 (diff) | |
download | gtk+-e6ae3b8a2befa0be0752310ca862da532cfb6bd4.tar.gz |
broadway: Quiet initialisation failures
Broadway is the only GTK+ backend that throws an error on stderr when
failing to initialise, which causes problems when gtk_init_check() is
used and unexpected error output is generated.
This causes hotdoc to fail when generating a GTK plugin's documentation
instead of failing quietly.
"Unable to init server: Could not connect: Connection refused"
Diffstat (limited to 'gdk')
-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 f4e77e802b..dff9f796a4 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_printerr ("Unable to init Broadway server: %s\n", error->message); + g_debug ("Unable to init Broadway server: %s\n", error->message); g_error_free (error); return NULL; } |