[gtk+] filechooserdefault: Don't unref value twice



commit 5317cb126374923600d078abbeaddda796c11141
Author: Benjamin Otte <otte redhat com>
Date:   Tue Nov 29 20:39:21 2011 +0100

    filechooserdefault: Don't unref value twice
    
    Double unref was introduced in eb02dacb370e8b4e6ef62328d0c09673b1234b32
    
    https://bugzilla.gnome.org/show_bug.cgi?id=646461
    https://bugzilla.gnome.org/show_bug.cgi?id=664137

 gtk/gtkfilechooserdefault.c |    1 -
 1 files changed, 0 insertions(+), 1 deletions(-)
---
diff --git a/gtk/gtkfilechooserdefault.c b/gtk/gtkfilechooserdefault.c
index f4b099f..0f65fc9 100644
--- a/gtk/gtkfilechooserdefault.c
+++ b/gtk/gtkfilechooserdefault.c
@@ -10131,7 +10131,6 @@ list_row_activated (GtkTreeView           *tree_view,
   if (is_folder && file)
     {
       change_folder_and_display_error (impl, file, FALSE);
-      g_object_unref (file);
       goto out;
     }
 



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