diff options
author | Cosimo Cecchi <cosimoc@gnome.org> | 2013-04-24 12:01:18 -0400 |
---|---|---|
committer | Cosimo Cecchi <cosimoc@gnome.org> | 2013-04-24 12:01:18 -0400 |
commit | 61014888425590acc66e1f84fe22480d940c9ab8 (patch) | |
tree | 6cae55519146abe27fc340322ebb75ffe4f9e34b /gir | |
parent | 70cc4b9479943ec95d3b95b1786b79c9bfd2cce0 (diff) | |
download | gobject-introspection-61014888425590acc66e1f84fe22480d940c9ab8.tar.gz |
Update glib annotations
Diffstat (limited to 'gir')
-rw-r--r-- | gir/gio-2.0.c | 26 |
1 files changed, 26 insertions, 0 deletions
diff --git a/gir/gio-2.0.c b/gir/gio-2.0.c index 5a92d00c..4280fd70 100644 --- a/gir/gio-2.0.c +++ b/gir/gio-2.0.c @@ -20566,6 +20566,17 @@ /** + * g_icon_deserialize: + * @value: a #GVariant created with g_icon_serialize() + * + * Deserializes a #GIcon previously serialized using g_icon_serialize(). + * + * Returns: (transfer full): a #GIcon, or %NULL when deserialization fails. + * Since: 2.38 + */ + + +/** * g_icon_equal: * @icon1: (allow-none): pointer to the first #GIcon. * @icon2: (allow-none): pointer to the second #GIcon. @@ -20605,6 +20616,21 @@ /** + * g_icon_serialize: + * @icon: a #GIcon + * + * Serializes a #GIcon into a #GVariant. An equivalent #GIcon can be retrieved + * back by calling g_icon_deserialize() on the returned value. + * As serialization will avoid using raw icon data when possible, it only + * makes sense to transfer the #GVariant between processes on the same machine, + * (as opposed to over the network), and within the same file system namespace. + * + * Returns: (transfer full): a #GVariant, or %NULL when serialization fails. + * Since: 2.38 + */ + + +/** * g_icon_to_string: * @icon: a #GIcon. * |