Skip to content
Commit e523572e authored by Giovanni Campagna's avatar Giovanni Campagna Committed by Tomáš Bžatek
Browse files

GVfsJobUnmount: check that vfunc is implemented before calling it

GVfsBackend::try_unmount is optional (like all the other try_* vfuncs),
and in fact many backends don't implement it.
In case it's NULL, returing FALSE does the right thing and schedules
a thread for calling ->unmount.

https://bugzilla.gnome.org/show_bug.cgi?id=669211
parent 989d0889
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment