[gnac/devel] Fixed a warning



commit cbfd6f1899b70862b9f25bc310032569740e7930
Author: BenoÃt Dupasquier <bdupasqu src gnome org>
Date:   Wed Jan 11 17:46:10 2012 +0000

    Fixed a warning

 src/gnac-utils.c |    1 -
 1 files changed, 0 insertions(+), 1 deletions(-)
---
diff --git a/src/gnac-utils.c b/src/gnac-utils.c
index 908242e..980388e 100644
--- a/src/gnac-utils.c
+++ b/src/gnac-utils.c
@@ -48,7 +48,6 @@ gnac_utils_get_display_name_from_file(GFile   *file,
       G_FILE_ATTRIBUTE_STANDARD_DISPLAY_NAME,
       G_FILE_QUERY_INFO_NONE, NULL, &err);
   if (err) {
-    g_object_unref(file);
     g_propagate_error(error, err);
     return NULL;
   }



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