-
Simon McVittie authored
A window being unmanaged can cause the ShellApp to be removed from the ShellAppSystem, which if we are unlucky is the app's last reference, causing it to be disposed and freed. It would be bad if this happened before we finished handling the signal. Use g_signal_connect_object to ensure that a reference is held to the ShellApp for the duration of the signal handler, delaying its last-unref. Signed-off-by: Simon McVittie <smcv@debian.org>
ea642989