After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 754729 - g_dirname is deprecated
g_dirname is deprecated
Status: RESOLVED FIXED
Product: gvfs
Classification: Core
Component: mtp backend
git master
Other All
: Normal normal
: ---
Assigned To: Philip Langdale
gvfs-maint
Depends on:
Blocks:
 
 
Reported: 2015-09-08 15:13 UTC by Debarshi Ray
Modified: 2015-09-08 15:27 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
mtp: Replace a deprecated function (955 bytes, patch)
2015-09-08 15:14 UTC, Debarshi Ray
committed Details | Review

Description Debarshi Ray 2015-09-08 15:13:36 UTC
We should be using g_path_get_dirname instead of g_dirname.
Comment 1 Debarshi Ray 2015-09-08 15:14:46 UTC
Created attachment 310913 [details] [review]
mtp: Replace a deprecated function
Comment 2 Ondrej Holy 2015-09-08 15:22:04 UTC
Review of attachment 310913 [details] [review]:

Looks good to me!
Comment 3 Debarshi Ray 2015-09-08 15:27:39 UTC
Comment on attachment 310913 [details] [review]
mtp: Replace a deprecated function

Thanks for the review. Pushed to master.