Skip to content

Commit e64cad5

Browse files
committed
Fix deprecated-declarations warning
...relating to G_APPLICATION_FLAGS_NONE
1 parent 8a769b4 commit e64cad5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

main.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -325,7 +325,7 @@ main(int argc, char **argv)
325325
/* start ui */
326326
GtkApplication *app;
327327
int status;
328-
app = gtk_application_new(NULL, G_APPLICATION_FLAGS_NONE);
328+
app = gtk_application_new(NULL, G_APPLICATION_DEFAULT_FLAGS);
329329
g_signal_connect(app, "activate", G_CALLBACK(activate), NULL);
330330
status = g_application_run(G_APPLICATION(app), argc, argv);
331331
g_object_unref(app);

0 commit comments

Comments
 (0)