From f1f27ce0c278ba61ad914a39a580b91dba295c77 Mon Sep 17 00:00:00 2001 From: Benjamin Otte Date: Sat, 31 Mar 2018 20:02:55 +0200 Subject: [PATCH] broadway: Improve error message This error message is printed into the journal if a GTK app can't connect to eithre Wayland or X11. Make it at least mention who is not capable of connecting to a server. Unrelated, we might want to improve our error reporting when a GTK app can't start, so that debugging issues with system startup / login get easier to resolve. --- gdk/broadway/gdkdisplay-broadway.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gdk/broadway/gdkdisplay-broadway.c b/gdk/broadway/gdkdisplay-broadway.c index 80c9975254..329dfcf19f 100644 --- a/gdk/broadway/gdkdisplay-broadway.c +++ b/gdk/broadway/gdkdisplay-broadway.c @@ -263,7 +263,7 @@ _gdk_broadway_display_open (const gchar *display_name) broadway_display->server = _gdk_broadway_server_new (display_name, &error); if (broadway_display->server == NULL) { - g_printerr ("Unable to init server: %s\n", error->message); + g_printerr ("Unable to init Broadway server: %s\n", error->message); g_error_free (error); return NULL; }