-
Committer:
Cody Garver
-
Author(s):
Victor
-
Date:
2013-04-21 02:42:57 UTC
-
mfrom:
(38.1.3 cerbere)
-
Revision ID:
cody@elementaryos.org-20130421024257-g8wmt4y4j71we6fb
Quit application properly.
- Remove unnecessary main loop. Instead, use GLib.Application's API and call hold() and release() when required.
- When the session manager requests Cerbere to quit, do it by calling release() and not by calling the deprecated quit_mainloop() method. Since nothing implements quit_mainloop(), this results in a null-pointer dereferencing that makes the application crash when it's about to quit (lp:1134973).