diff --git a/TimerApplication.c b/TimerApplication.c index 696bbea..a28283a 100644 --- a/TimerApplication.c +++ b/TimerApplication.c @@ -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) {