使用 GLib/GObject 的旧代码触发新版本 GLib 的弃用检查,修正使用最新的

(cherry picked from commit 61e8750169dd1f797f4cd607d72f4b6cd3d0705f)
This commit is contained in:
Rust 2025-10-29 12:02:47 +08:00 committed by speakeloudest
parent 3328919f7e
commit 41f85a6747

View File

@ -137,6 +137,6 @@ MyApplication *my_application_new()
{
return MY_APPLICATION(g_object_new(my_application_get_type(),
"application-id", APPLICATION_ID,
"flags", G_APPLICATION_FLAGS_NONE,
"flags", G_APPLICATION_DEFAULT_FLAGS,
nullptr));
}