Fix non-existant enum on some systems
This commit is contained in:
parent
98dc75e02f
commit
64dcdf26bb
@ -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) {
|
||||
|
Loading…
Reference in New Issue
Block a user