mirror of
https://gitlab.gnome.org/GNOME/calls.git
synced 2025-01-06 03:25:31 +00:00
main: Set program name to APP_ID
This makes sure we end up with the correct xdg app_id in Wayland: before: [943832,359] -> xdg_toplevel@27.set_app_id("calls") after: [1180814,499] -> xdg_toplevel@27.set_app_id("sm.puri.Calls") Closes #8
This commit is contained in:
parent
e0ef7f6f59
commit
7bc5f0ed90
1 changed files with 1 additions and 0 deletions
|
@ -70,6 +70,7 @@ main (int argc,
|
|||
int status;
|
||||
|
||||
app = gtk_application_new (APP_ID, G_APPLICATION_FLAGS_NONE);
|
||||
g_set_prgname (APP_ID);
|
||||
g_signal_connect (app, "activate", G_CALLBACK (show_window), NULL);
|
||||
status = g_application_run (G_APPLICATION (app), argc, argv);
|
||||
g_object_unref (app);
|
||||
|
|
Loading…
Reference in a new issue