diff options
-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. * |