diff options
author | Ryan Lortie <desrt@desrt.ca> | 2013-04-20 19:35:34 -0400 |
---|---|---|
committer | Ryan Lortie <desrt@desrt.ca> | 2013-04-21 16:36:33 -0400 |
commit | c9bbd01b70fea6488f48d2360893196295e13429 (patch) | |
tree | ae1f71d9488e67841ca420c0c3e061edff824997 /common/gvfsicon.h | |
parent | 89c89f5a3a0ce4dedb969f4cc2e996c581141c97 (diff) | |
download | gvfs-c9bbd01b70fea6488f48d2360893196295e13429.tar.gz |
GVfsIcon: support icon serialisation
Add support for the new icon serialisation interface to GVfsIcon as well
as implementing the new interface on GVfsClass for deserialising.
https://bugzilla.gnome.org/show_bug.cgi?id=688820
Diffstat (limited to 'common/gvfsicon.h')
-rw-r--r-- | common/gvfsicon.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/common/gvfsicon.h b/common/gvfsicon.h index 7ed0935e..1bba7e7c 100644 --- a/common/gvfsicon.h +++ b/common/gvfsicon.h @@ -61,9 +61,12 @@ GType g_vfs_icon_get_type (void) G_GNUC_CONST; GIcon *g_vfs_icon_new (GMountSpec *mount_spec, const gchar *icon_id); +GIcon *g_vfs_icon_deserialize (GVariant *value); + GMountSpec *g_vfs_icon_get_mount_spec (GVfsIcon *vfs_icon); const gchar *g_vfs_icon_get_icon_id (GVfsIcon *vfs_icon); + G_END_DECLS #endif /* __G_VFS_ICON_H__ */ |