summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCosimo Cecchi <cosimoc@gnome.org>2013-04-24 12:01:18 -0400
committerCosimo Cecchi <cosimoc@gnome.org>2013-04-24 12:01:18 -0400
commit61014888425590acc66e1f84fe22480d940c9ab8 (patch)
tree6cae55519146abe27fc340322ebb75ffe4f9e34b
parent70cc4b9479943ec95d3b95b1786b79c9bfd2cce0 (diff)
downloadgobject-introspection-61014888425590acc66e1f84fe22480d940c9ab8.tar.gz
Update glib annotations
-rw-r--r--gir/gio-2.0.c26
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.
*