[easytag] Do not unref GFile in GApplication::open handler



commit 6c70f15269bd66936b2e7d65e62c8a80bc38fc9f
Author: David King <amigadave amigadave com>
Date:   Thu Feb 6 22:56:09 2014 +0000

    Do not unref GFile in GApplication::open handler
    
    https://retrace.fedoraproject.org/faf/problems/1504917/

 src/easytag.c |    1 -
 1 files changed, 0 insertions(+), 1 deletions(-)
---
diff --git a/src/easytag.c b/src/easytag.c
index 8dc6824..1559aac 100644
--- a/src/easytag.c
+++ b/src/easytag.c
@@ -449,7 +449,6 @@ on_application_open (GApplication *application, GFile **files, gint n_files,
         case G_FILE_TYPE_REGULAR:
             /* When given a file, load the parent directory. */
             parent = g_file_get_parent (arg);
-            g_object_unref (arg);
 
             if (parent)
             {


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