Skip to content

Commit

Permalink
get rid of GTK deprecation warning
Browse files Browse the repository at this point in the history
  • Loading branch information
lyonel committed Jan 6, 2024
1 parent 4c6497c commit 8318b40
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/gui/gtk-lshw.c
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,7 @@ main (int argc, char *argv[])
textdomain (PACKAGE);
#endif

GtkApplication *app = gtk_application_new ("org.ezix.gtk-lshw", G_APPLICATION_FLAGS_NONE);
GtkApplication *app = gtk_application_new ("org.ezix.gtk-lshw", 0); // was G_APPLICATION_FLAGS_NONE
g_signal_connect (app, "activate", G_CALLBACK (activate), NULL);
int status = g_application_run (G_APPLICATION (app), argc, argv);
g_object_unref (app);
Expand Down

0 comments on commit 8318b40

Please sign in to comment.