chore: source app display name from platform config

This commit is contained in:
pluv committed 2026-10-24 00:58:40 +08:00
1 parent d8543cc0f3
commit 77eb0de1c3
6 files changed
+18 -5

No files matched your search

+4 -1
View File
@@ -31,7 +31,10 @@ static void my_application_activate(GApplication* application) {
// out of place and noticeably thicker than the native title bar. Relying on
// the compositor gives the native Breeze/KWin decoration on Plasma, and the
// desktop's own title bar everywhere else.
gtk_window_set_title(window, "KiriMemo");
// The title comes from APPLICATION_TITLE in linux/CMakeLists.txt (passed as a
// preprocessor definition by linux/runner/CMakeLists.txt), so the name lives
// in the project configuration instead of being duplicated here.
gtk_window_set_title(window, APPLICATION_TITLE);
gtk_window_set_default_size(window, 1280, 720);