[Xfce-bugs] [Bug 16566] Improve tooltips in shortcuts view

bugzilla-daemon at xfce.org bugzilla-daemon at xfce.org
Fri Mar 20 23:35:51 CET 2020


https://bugzilla.xfce.org/show_bug.cgi?id=16566

--- Comment #4 from Theo Linkspfeifer <lastonestanding at tutanota.com> ---
These lines were added as replacement for the
THUNAR_SHORTCUT_GROUP_NETWORK_MOUNTS block:

+          if (shortcut->device != NULL)
+            file = thunar_device_get_root (shortcut->device);

+              if (shortcut->device != NULL)
+                {
+                  shortcut->tooltip = g_file_get_uri (file);
+                  g_object_unref (file);
+                }

So, only thunar_device_get_root() requires the g_object_unref() call.

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the Xfce-bugs mailing list