summaryrefslogtreecommitdiff
path: root/src/fr-window.c
diff options
context:
space:
mode:
authorZenWalker <[email protected]>2016-07-27 20:02:39 +0200
committerZenWalker <[email protected]>2016-07-27 20:02:39 +0200
commitcc60ad3996178ffc4c008335720a6e6ac85e062d (patch)
tree984824cf996883c34d593ae79618e2e880a8a507 /src/fr-window.c
parent3f5474eab34a123533b3c1c45d99d8be2639ede0 (diff)
downloadengrampa-cc60ad3996178ffc4c008335720a6e6ac85e062d.tar.bz2
engrampa-cc60ad3996178ffc4c008335720a6e6ac85e062d.tar.xz
fix: engrampa closes faster
With https://github.com/mate-desktop/engrampa/commit/1c4f7a65536c801a4fc25b920163ffdbc3aa5bb9 engrampa closes slower
Diffstat (limited to 'src/fr-window.c')
-rw-r--r--src/fr-window.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/fr-window.c b/src/fr-window.c
index 17941db..537726e 100644
--- a/src/fr-window.c
+++ b/src/fr-window.c
@@ -637,7 +637,7 @@ fr_window_free_private_data (FrWindow *window)
static void
-fr_window_finalize (GObject *object)
+fr_window_finalize (GObject *object, GApplication *application)
{
FrWindow *window = FR_WINDOW (object);
@@ -669,6 +669,7 @@ fr_window_finalize (GObject *object)
g_hash_table_destroy (tree_pixbuf_hash);
tree_pixbuf_hash = NULL;
}
+ g_application_quit (application);
}
G_OBJECT_CLASS (parent_class)->finalize (object);