Other GDK backends ensure there is always a default name set.
Fixes https://github.com/gtk-rs/gtk4-rs/issues/868
if (self != NULL)
return NULL;
- GDK_NOTE (MISC, g_message ("opening display %s", display_name ? display_name : ""));
+ display_name = display_name ? display_name : "";
+ GDK_NOTE (MISC, g_message ("opening display %s", display_name));
/* Make the current process a foreground application, i.e. an app
* with a user interface, in case we're not running from a .app bundle