forked from AuroraMiddleware/gtk
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.
This commit is contained in:
parent
a36b0f8bae
commit
f1f27ce0c2
@ -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;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user