[nautilus] desktop-icon-file: chain up for get_target_uri
- From: Carlos Soriano Sánchez <csoriano src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [nautilus] desktop-icon-file: chain up for get_target_uri
- Date: Thu, 14 Apr 2016 08:51:50 +0000 (UTC)
commit b5f32361b881a0c37b274db29a59a06d019fdd3a
Author: Carlos Soriano <csoriano gnome org>
Date: Tue Apr 12 15:56:56 2016 +0200
desktop-icon-file: chain up for get_target_uri
In case we don't meet the conditions the parent function can still
deal with it.
https://bugzilla.gnome.org/show_bug.cgi?id=712620
libnautilus-private/nautilus-desktop-icon-file.c | 4 +++-
1 files changed, 3 insertions(+), 1 deletions(-)
---
diff --git a/libnautilus-private/nautilus-desktop-icon-file.c
b/libnautilus-private/nautilus-desktop-icon-file.c
index f08995c..7d9a2a6 100644
--- a/libnautilus-private/nautilus-desktop-icon-file.c
+++ b/libnautilus-private/nautilus-desktop-icon-file.c
@@ -361,10 +361,12 @@ real_get_target_uri (NautilusFile *file)
if (location != NULL) {
uri = g_file_get_uri (location);
g_object_unref (location);
+
+ return uri;
}
}
- return uri;
+ return NAUTILUS_FILE_CLASS (nautilus_desktop_icon_file_parent_class)->get_target_uri (file);
}
static void
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]