Fix non-existant enum on some systems

This commit is contained in:
Alexander Rosenberg 2022-11-08 15:01:54 -08:00
parent 98dc75e02f
commit 64dcdf26bb
Signed by: Zander671
GPG Key ID: 5FD0394ADBD72730

View File

@ -57,7 +57,10 @@ static void timer_application_activate(GApplication *app) {
}
TimerApplication *timer_application_new() {
return g_object_new(TIMER_TYPE_APPLICATION, "application-id", "org.zander.practicetiemr", "flags", G_APPLICATION_DEFAULT_FLAGS, NULL);
#pragma GCC diagnostic push
#pragma GCC diagnostic ignored "-Wdeprecated"
return g_object_new(TIMER_TYPE_APPLICATION, "application-id", "org.zander.practicetiemr", "flags", G_APPLICATION_FLAGS_NONE, NULL);
#pragma GCC diagnostic pop
}
const char *timer_application_get_config_file(TimerApplication *self) {