diff options
author | Ross Lagerwall <rosslagerwall@gmail.com> | 2014-10-19 09:26:02 +0100 |
---|---|---|
committer | Ross Lagerwall <rosslagerwall@gmail.com> | 2015-02-09 23:14:17 +0000 |
commit | 2fc159a7886a6696ca8caa218897b14150485db3 (patch) | |
tree | 4bf3f68a836916fe2487f9c5e5efb087770d6ca2 /daemon/gvfsdaemonutils.h | |
parent | fcd88e9ee0c68c5f0e15fb402c22b26dc4415299 (diff) | |
download | gvfs-2fc159a7886a6696ca8caa218897b14150485db3.tar.gz |
daemon: Move seek type conversion to shared library
Since converting a GSeekType into an lseek type is repeated in a few
places, move it into shared code.
https://bugzilla.gnome.org/show_bug.cgi?id=738967
Diffstat (limited to 'daemon/gvfsdaemonutils.h')
-rw-r--r-- | daemon/gvfsdaemonutils.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/daemon/gvfsdaemonutils.h b/daemon/gvfsdaemonutils.h index 0000caaf..f1951361 100644 --- a/daemon/gvfsdaemonutils.h +++ b/daemon/gvfsdaemonutils.h @@ -40,6 +40,8 @@ void gvfs_file_info_populate_content_types (GFileInfo *info, const char *basename, GFileType type); +int gvfs_seek_type_to_lseek (GSeekType type); + G_END_DECLS #endif /* __G_VFS_DAEMON_UTILS_H__ */ |