From 0fff52ee2891edaac69975f0bdafe337381cc853 Mon Sep 17 00:00:00 2001 From: Carlos Garnacho Date: Mon, 16 Jan 2023 15:16:16 +0100 Subject: [PATCH] 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: --- src/frames/meta-frame.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/frames/meta-frame.c b/src/frames/meta-frame.c index f6ee10ca1..a39fe833d 100644 --- a/src/frames/meta-frame.c +++ b/src/frames/meta-frame.c @@ -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); }