summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorZenWalker <[email protected]>2016-07-29 02:48:00 +0200
committerZenWalker <[email protected]>2016-07-29 02:48:00 +0200
commite57485f3cbbb26861c460e8bf78a0d613db5e627 (patch)
tree88b9f07855bd037df5f13f236f0896e66bbe5797
parent49d3a7f85985bee67cb088eba5531960917c7875 (diff)
downloadengrampa-e57485f3cbbb26861c460e8bf78a0d613db5e627.tar.bz2
engrampa-e57485f3cbbb26861c460e8bf78a0d613db5e627.tar.xz
Fixed: Segmentation fault
-rw-r--r--src/fr-window.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/fr-window.c b/src/fr-window.c
index 537726e..c0465d5 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, GApplication *application)
+fr_window_finalize (GObject *object)
{
FrWindow *window = FR_WINDOW (object);
@@ -669,7 +669,7 @@ fr_window_finalize (GObject *object, GApplication *application)
g_hash_table_destroy (tree_pixbuf_hash);
tree_pixbuf_hash = NULL;
}
- g_application_quit (application);
+ g_application_quit (g_application_get_default());
}
G_OBJECT_CLASS (parent_class)->finalize (object);