diff options
author | dec05eba <dec05eba@protonmail.com> | 2024-11-06 18:06:47 +0100 |
---|---|---|
committer | dec05eba <dec05eba@protonmail.com> | 2024-11-06 18:06:47 +0100 |
commit | 36f661e401ea07bd47ebcb484217d9ebd7d9f1d7 (patch) | |
tree | 28e9a7fe57be16406b81dc1755cd680781788700 /src/main.cpp | |
parent | ee084bbeadfcd8667590b5b22f6693fe8bd75e2f (diff) |
Diffstat (limited to 'src/main.cpp')
-rw-r--r-- | src/main.cpp | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/src/main.cpp b/src/main.cpp index 56d5fcf..a8a3295 100644 --- a/src/main.cpp +++ b/src/main.cpp @@ -4107,7 +4107,10 @@ int main(int argc, char **argv) { } } - GtkApplication *app = gtk_application_new("com.dec05eba.gpu_screen_recorder", G_APPLICATION_NON_UNIQUE); + char app_id[] = "com.dec05eba.gpu_screen_recorder"; + argv[0] = app_id; + + GtkApplication *app = gtk_application_new(app_id, G_APPLICATION_NON_UNIQUE); g_signal_connect(app, "activate", G_CALLBACK(activate), NULL); int status = g_application_run(G_APPLICATION(app), argc, argv); g_object_unref(app); |