main.c: set "register-session" property for gtk_application
authorFriedrich Beckmann <friedrich.beckmann@gmx.de>
Sat, 20 Jun 2020 13:48:57 +0000 (15:48 +0200)
committerFriedrich Beckmann <friedrich.beckmann@gmx.de>
Sat, 20 Jun 2020 16:55:52 +0000 (18:55 +0200)
commitf58d1b69c4bbd4072fca4e79ea1e6a527ab09fae
tree5343120abcdcc891b5fd6c9d0a8162a96015db64
parent3c051f691158eff5fd81ec2c6bf64bdd96f0b2f9
main.c: set "register-session" property for gtk_application

To open an application by clicking an associated file like
grid.sps in the Finder on Macos requires that the property
"register-session" is set for gtk_application. I did not
find a negative impact on Debian bullseye so I hope this
works also on other platforms. The gtk support for this
will be in the next gtk-3-24 release.

See: https://gitlab.gnome.org/GNOME/gtk/-/merge_requests/2098
src/ui/gui/main.c