[grilo-plugins] optical-media: GFile is owned by GFileIcon. Do not unref it
- From: Victor Toso de Carvalho <victortoso src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [grilo-plugins] optical-media: GFile is owned by GFileIcon. Do not unref it
- Date: Mon, 5 Dec 2016 07:40:30 +0000 (UTC)
commit d5e5ceb1c2871ba8fe2d4d07bf8d45a95fc6e1f3
Author: vrishab <gnome vrb gmail com>
Date: Sat Dec 3 14:56:08 2016 +0530
optical-media: GFile is owned by GFileIcon. Do not unref it
https://bugzilla.gnome.org/show_bug.cgi?id=775561
src/optical-media/grl-optical-media.c | 1 -
1 files changed, 0 insertions(+), 1 deletions(-)
---
diff --git a/src/optical-media/grl-optical-media.c b/src/optical-media/grl-optical-media.c
index 7f251d3..f3b88f1 100644
--- a/src/optical-media/grl-optical-media.c
+++ b/src/optical-media/grl-optical-media.c
@@ -244,7 +244,6 @@ get_uri_for_gicon (GIcon *icon)
file = g_file_icon_get_file (G_FILE_ICON (icon));
uri = g_file_get_uri (file);
- g_object_unref (file);
return uri;
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]