Unset XDG_ACTIVATION_TOKEN after used with GApplication

This commit is contained in:
Ilya Fedin 2022-11-25 16:53:14 +04:00 committed by John Preston
parent 88b0ea70b3
commit 109f6614f0
1 changed files with 1 additions and 0 deletions

View File

@ -103,6 +103,7 @@ static void t_desktop_application_class_init(
"{sv}",
"activation-token",
g_variant_new_string(token.constData()));
qunsetenv("XDG_ACTIVATION_TOKEN");
}
}
};