🐛 Fix linux G_APPLICATION_FLAGS_NONE api deprecated

This commit is contained in:
LittleSheep 2025-03-20 22:52:32 +08:00
parent 2de93a0486
commit 360bc50f21

View File

@ -102,6 +102,6 @@ static void my_application_init(MyApplication* self) {}
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));
}