[json-glib] docs: Fix the Since tags



commit a43a9451b0cf9ebc03c651b5688f0fad56e3bacb
Author: Emmanuele Bassi <ebassi gnome org>
Date:   Tue Mar 1 15:02:19 2016 +0000

    docs: Fix the Since tags
    
    The newly added API is available since 1.2.

 json-glib/json-array.c   |    8 ++++----
 json-glib/json-builder.c |    4 ++--
 json-glib/json-node.c    |   20 ++++++++++----------
 json-glib/json-object.c  |   12 ++++++------
 json-glib/json-parser.c  |    4 ++--
 json-glib/json-value.c   |    2 +-
 6 files changed, 25 insertions(+), 25 deletions(-)
---
diff --git a/json-glib/json-array.c b/json-glib/json-array.c
index c861b8e..4834cdc 100644
--- a/json-glib/json-array.c
+++ b/json-glib/json-array.c
@@ -142,7 +142,7 @@ json_array_unref (JsonArray *array)
  *
  * If the @array is already immutable, this is a no-op.
  *
- * Since: UNRELEASED
+ * Since: 1.2
  */
 void
 json_array_seal (JsonArray *array)
@@ -170,7 +170,7 @@ json_array_seal (JsonArray *array)
  * Check whether the given @array has been marked as immutable by calling
  * json_array_seal() on it.
  *
- * Since: UNRELEASED
+ * Since: 1.2
  * Returns: %TRUE if the @array is immutable
  */
 gboolean
@@ -756,7 +756,7 @@ json_array_foreach_element (JsonArray        *array,
  * proportionally with the length of the array.
  *
  * Returns: hash value for @key
- * Since: UNRELEASED
+ * Since: 1.2
  */
 guint
 json_array_hash (gconstpointer key)
@@ -793,7 +793,7 @@ json_array_hash (gconstpointer key)
  * are equal.
  *
  * Returns: %TRUE if @a and @b are equal; %FALSE otherwise
- * Since: UNRELEASED
+ * Since: 1.2
  */
 gboolean
 json_array_equal (gconstpointer a,
diff --git a/json-glib/json-builder.c b/json-glib/json-builder.c
index 66a5796..34c29c6 100644
--- a/json-glib/json-builder.c
+++ b/json-glib/json-builder.c
@@ -194,7 +194,7 @@ json_builder_class_init (JsonBuilderClass *klass)
    * when created. Making the output immutable on creation avoids the expense
    * of traversing it to make it immutable later.
    *
-   * Since: UNRELEASED
+   * Since: 1.2
    */
   builder_props[PROP_IMMUTABLE] =
     g_param_spec_boolean ("immutable",
@@ -255,7 +255,7 @@ json_builder_new (void)
  * Creates a new #JsonBuilder instance with its #JsonBuilder:immutable property
  * set to %TRUE to create immutable output trees.
  *
- * Since: UNRELEASED
+ * Since: 1.2
  * Returns: (transfer full): a new #JsonBuilder
  */
 JsonBuilder *
diff --git a/json-glib/json-node.c b/json-glib/json-node.c
index 44cbdd2..aa8e94e 100644
--- a/json-glib/json-node.c
+++ b/json-glib/json-node.c
@@ -451,7 +451,7 @@ json_node_copy (JsonNode *node)
  *
  * Increment the reference count of @node.
  *
- * Since: UNRELEASED
+ * Since: 1.2
  * Returns: (transfer full): a pointer to @node
  */
 JsonNode *
@@ -471,7 +471,7 @@ json_node_ref (JsonNode *node)
  * Decrement the reference count of @node. If it reaches zero, the node is
  * freed.
  *
- * Since: UNRELEASED
+ * Since: 1.2
  */
 void
 json_node_unref (JsonNode *node)
@@ -807,7 +807,7 @@ json_node_free (JsonNode *node)
  *
  * If the @node is already immutable, this is a no-op.
  *
- * Since: UNRELEASED
+ * Since: 1.2
  */
 void
 json_node_seal (JsonNode *node)
@@ -847,7 +847,7 @@ json_node_seal (JsonNode *node)
  * Check whether the given @node has been marked as immutable by calling
  * json_node_seal() on it.
  *
- * Since: UNRELEASED
+ * Since: 1.2
  * Returns: %TRUE if the @node is immutable
  */
 gboolean
@@ -1233,7 +1233,7 @@ json_node_is_null (JsonNode *node)
  *
  * Returns: %TRUE if @sub is a sub-type of, or equal to, @super; %FALSE
  *    otherwise
- * Since: UNRELEASED
+ * Since: 1.2
  */
 static gboolean
 json_type_is_a (JsonNode  *sub,
@@ -1268,7 +1268,7 @@ json_type_is_a (JsonNode  *sub,
  * standard (ECMA-404), but is assumed.
  *
  * Returns: hash value for @key
- * Since: UNRELEASED
+ * Since: 1.2
  */
 guint
 json_string_hash (gconstpointer key)
@@ -1284,7 +1284,7 @@ json_string_hash (gconstpointer key)
  * Check whether @a and @b are equal UTF-8 JSON strings.
  *
  * Returns: %TRUE if @a and @b are equal; %FALSE otherwise
- * Since: UNRELEASED
+ * Since: 1.2
  */
 gboolean
 json_string_equal (gconstpointer  a,
@@ -1303,7 +1303,7 @@ json_string_equal (gconstpointer  a,
  *
  * Returns: an integer less than zero if @a < @b, equal to zero if @a == @b, and
  *    greater than zero if @a > @b
- * Since: UNRELEASED
+ * Since: 1.2
  */
 gint
 json_string_compare (gconstpointer  a,
@@ -1324,7 +1324,7 @@ json_string_compare (gconstpointer  a,
  * in the #JsonObject if this node contains an object).
  *
  * Returns: hash value for @key
- * Since: UNRELEASED
+ * Since: 1.2
  */
 guint
 json_node_hash (gconstpointer key)
@@ -1367,7 +1367,7 @@ json_node_hash (gconstpointer key)
  * integer value 4.
  *
  * Returns: %TRUE if @a and @b are equal; %FALSE otherwise
- * Since: UNRELEASED
+ * Since: 1.2
  */
 gboolean
 json_node_equal (gconstpointer  a,
diff --git a/json-glib/json-object.c b/json-glib/json-object.c
index 5b1ec9e..4d89cd6 100644
--- a/json-glib/json-object.c
+++ b/json-glib/json-object.c
@@ -126,7 +126,7 @@ json_object_unref (JsonObject *object)
  *
  * If the @object is already immutable, this is a no-op.
  *
- * Since: UNRELEASED
+ * Since: 1.2
  */
 void
 json_object_seal (JsonObject *object)
@@ -157,7 +157,7 @@ json_object_seal (JsonObject *object)
  * Check whether the given @object has been marked as immutable by calling
  * json_object_seal() on it.
  *
- * Since: UNRELEASED
+ * Since: 1.2
  * Returns: %TRUE if the @object is immutable
  */
 gboolean
@@ -915,7 +915,7 @@ json_object_foreach_member (JsonObject        *object,
  * proportionally with the number of members in the object.
  *
  * Returns: hash value for @key
- * Since: UNRELEASED
+ * Since: 1.2
  */
 guint
 json_object_hash (gconstpointer key)
@@ -950,7 +950,7 @@ json_object_hash (gconstpointer key)
  * set of members, and the values of corresponding members are equal.
  *
  * Returns: %TRUE if @a and @b are equal; %FALSE otherwise
- * Since: UNRELEASED
+ * Since: 1.2
  */
 gboolean
 json_object_equal (gconstpointer  a,
@@ -1019,7 +1019,7 @@ json_object_equal (gconstpointer  a,
  *   }
  * ]|
  *
- * Since: UNRELEASED
+ * Since: 1.2
  */
 void
 json_object_iter_init (JsonObjectIter  *iter,
@@ -1053,7 +1053,7 @@ json_object_iter_init (JsonObjectIter  *iter,
  * Returns: %TRUE if @member_name and @member_node are valid; %FALSE if the end
  *    of the object has been reached
  *
- * Since: UNRELEASED
+ * Since: 1.2
  */
 gboolean
 json_object_iter_next (JsonObjectIter  *iter,
diff --git a/json-glib/json-parser.c b/json-glib/json-parser.c
index a48e9b2..3eec22c 100644
--- a/json-glib/json-parser.c
+++ b/json-glib/json-parser.c
@@ -214,7 +214,7 @@ json_parser_class_init (JsonParserClass *klass)
    * when created. Making the output immutable on creation avoids the expense
    * of traversing it to make it immutable later.
    *
-   * Since: UNRELEASED
+   * Since: 1.2
    */
   parser_props[PROP_IMMUTABLE] =
     g_param_spec_boolean ("immutable",
@@ -967,7 +967,7 @@ json_parser_new (void)
  * Creates a new #JsonParser instance with its #JsonParser:immutable property
  * set to %TRUE to create immutable output trees.
  *
- * Since: UNRELEASED
+ * Since: 1.2
  * Returns: (transfer full): a new #JsonParser
  */
 JsonParser *
diff --git a/json-glib/json-value.c b/json-glib/json-value.c
index e636499..1b6f971 100644
--- a/json-glib/json-value.c
+++ b/json-glib/json-value.c
@@ -175,7 +175,7 @@ json_value_free (JsonValue *value)
  *
  * If the @value is already immutable, this is a no-op.
  *
- * Since: UNRELEASED
+ * Since: 1.2
  */
 void
 json_value_seal (JsonValue *value)


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]