mirror of
https://github.com/brl/mutter.git
synced 2024-11-26 10:00:45 -05:00
frames: Avoid default NULL frame title
The default GtkWindow title if NULL is set is obtained from g_get_prgname(), prefer an empty string here. Part-of: <https://gitlab.gnome.org/GNOME/mutter/-/merge_requests/2791>
This commit is contained in:
parent
89b254a74b
commit
0fff52ee28
@ -239,7 +239,7 @@ frame_sync_title (GtkWindow *frame,
|
||||
if (gdk_x11_display_error_trap_pop (display))
|
||||
return;
|
||||
|
||||
gtk_window_set_title (frame, title);
|
||||
gtk_window_set_title (frame, title ? title : "");
|
||||
g_free (title);
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user