[file-roller] do not unref window_group twice



commit 6a6d3b992c694c83771c4ff5a42b512957128ea2
Author: Paolo Bacchilega <paobac src gnome org>
Date:   Sat Dec 21 16:57:39 2013 +0100

    do not unref window_group twice

 src/fr-window.c |    4 +---
 1 files changed, 1 insertions(+), 3 deletions(-)
---
diff --git a/src/fr-window.c b/src/fr-window.c
index f3a88c9..9448122 100644
--- a/src/fr-window.c
+++ b/src/fr-window.c
@@ -581,6 +581,7 @@ fr_window_free_private_data (FrWindow *window)
        _g_object_unref (window->priv->cancellable);
        g_hash_table_unref (window->priv->named_dialogs);
        g_object_unref (window->priv->window_group);
+       g_object_unref (window->priv->accel_group);
 }
 
 
@@ -669,9 +670,6 @@ fr_window_finalize (GObject *object)
 
        fr_window_free_open_files (window);
 
-       g_object_unref (window->priv->window_group);
-       g_object_unref (window->priv->accel_group);
-
        if (window->archive != NULL) {
                g_object_unref (window->archive);
                window->archive = NULL;


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]