aboutsummaryrefslogtreecommitdiffstats
path: root/facebook/facebook-json.h
diff options
context:
space:
mode:
authorjgeboski <jgeboski@gmail.com>2015-12-16 14:11:00 -0500
committerjgeboski <jgeboski@gmail.com>2015-12-20 13:08:39 -0500
commit1c47c7ab4d0b74f67dc11558360d24c746d63186 (patch)
tree9b19e5e556d3366dfe4b188e8be4bf7079f692d9 /facebook/facebook-json.h
parent2018aa1a288d5204d5d066bff672df8cb46065b9 (diff)
downloadbitlbee-facebook-1c47c7ab4d0b74f67dc11558360d24c746d63186.tar.gz
bitlbee-facebook-1c47c7ab4d0b74f67dc11558360d24c746d63186.tar.bz2
bitlbee-facebook-1c47c7ab4d0b74f67dc11558360d24c746d63186.tar.xz
Fixed grammar errors in the GTK-Doc
Diffstat (limited to 'facebook/facebook-json.h')
-rw-r--r--facebook/facebook-json.h36
1 files changed, 18 insertions, 18 deletions
diff --git a/facebook/facebook-json.h b/facebook/facebook-json.h
index 4ca5f61..ed74435 100644
--- a/facebook/facebook-json.h
+++ b/facebook/facebook-json.h
@@ -164,7 +164,7 @@ fb_json_bldr_close(JsonBuilder *bldr, JsonNodeType type, gsize *size);
/**
* fb_json_bldr_arr_begin:
* @bldr: The #JsonBuilder.
- * @name: The member name, or #NULL.
+ * @name: The member name or #NULL.
*
* Begins an array member in the #JsonBuilder.
*/
@@ -183,7 +183,7 @@ fb_json_bldr_arr_end(JsonBuilder *bldr);
/**
* fb_json_bldr_obj_begin:
* @bldr: The #JsonBuilder.
- * @name: The member name, or #NULL.
+ * @name: The member name or #NULL.
*
* Begins an object member in the #JsonBuilder.
*/
@@ -202,7 +202,7 @@ fb_json_bldr_obj_end(JsonBuilder *bldr);
/**
* fb_json_bldr_add_bool:
* @bldr: The #JsonBuilder.
- * @name: The member name, or #NULL.
+ * @name: The member name or #NULL.
* @value: The value.
*
* Adds a boolean memeber to the #JsonBuilder.
@@ -213,7 +213,7 @@ fb_json_bldr_add_bool(JsonBuilder *bldr, const gchar *name, gboolean value);
/**
* fb_json_bldr_add_dbl:
* @bldr: The #JsonBuilder.
- * @name: The member name, or #NULL.
+ * @name: The member name or #NULL.
* @value: The value.
*
* Adds a floating point memeber to the #JsonBuilder.
@@ -224,7 +224,7 @@ fb_json_bldr_add_dbl(JsonBuilder *bldr, const gchar *name, gdouble value);
/**
* fb_json_bldr_add_int:
* @bldr: The #JsonBuilder.
- * @name: The member name, or #NULL.
+ * @name: The member name or #NULL.
* @value: The value.
*
* Adds a integer memeber to the #JsonBuilder.
@@ -235,7 +235,7 @@ fb_json_bldr_add_int(JsonBuilder *bldr, const gchar *name, gint64 value);
/**
* fb_json_bldr_add_str:
* @bldr: The #JsonBuilder.
- * @name: The member name, or #NULL.
+ * @name: The member name or #NULL.
* @value: The value.
*
* Adds a string memeber to the #JsonBuilder.
@@ -246,7 +246,7 @@ fb_json_bldr_add_str(JsonBuilder *bldr, const gchar *name, const gchar *value);
/**
* fb_json_bldr_add_strf:
* @bldr: The #JsonBuilder.
- * @name: The member name, or #NULL.
+ * @name: The member name or #NULL.
* @format: The format string literal.
* @...: The arguments for @format.
*
@@ -260,8 +260,8 @@ fb_json_bldr_add_strf(JsonBuilder *bldr, const gchar *name,
/**
* fb_json_node_new:
* @data: The string JSON.
- * @size: The size of @json, or -1 if null-terminated.
- * @error: The return location for the #GError, or #NULL.
+ * @size: The size of @json or -1 if null-terminated.
+ * @error: The return location for the #GError or #NULL.
*
* Creates a new #JsonNode. The returned #JsonBuilder should be freed
* wuth #json_node_free() when no longer needed.
@@ -275,7 +275,7 @@ fb_json_node_new(const gchar *data, gssize size, GError **error);
* fb_json_node_get:
* @root: The root #JsonNode.
* @expr: The #JsonPath expression.
- * @error: The return location for the #GError, or #NULL.
+ * @error: The return location for the #GError or #NULL.
*
* Gets a new #JsonNode value from a parent #JsonNode with a #JsonPath
* expression. The returned #JsonNode should be freed with
@@ -303,7 +303,7 @@ fb_json_node_get_nth(JsonNode *root, guint n);
* fb_json_node_get_arr:
* @root: The root #JsonNode.
* @expr: The #JsonPath expression.
- * @error: The return location for the #GError, or #NULL.
+ * @error: The return location for the #GError or #NULL.
*
* Gets a new #JsonArray value from a parent #JsonNode with a #JsonPath
* expression. The returned #JsonArray should be freed with
@@ -318,7 +318,7 @@ fb_json_node_get_arr(JsonNode *root, const gchar *expr, GError **error);
* fb_json_node_get_bool:
* @root: The root #JsonNode.
* @expr: The #JsonPath expression.
- * @error: The return location for the #GError, or #NULL.
+ * @error: The return location for the #GError or #NULL.
*
* Gets a boolean value from a parent #JsonNode with a #JsonPath
* expression.
@@ -332,7 +332,7 @@ fb_json_node_get_bool(JsonNode *root, const gchar *expr, GError **error);
* fb_json_node_get_dbl:
* @root: The root #JsonNode.
* @expr: The #JsonPath expression.
- * @error: The return location for the #GError, or #NULL.
+ * @error: The return location for the #GError or #NULL.
*
* Gets a floating point value from a parent #JsonNode with a #JsonPath
* expression.
@@ -346,7 +346,7 @@ fb_json_node_get_dbl(JsonNode *root, const gchar *expr, GError **error);
* fb_json_node_get_int:
* @root: The root #JsonNode.
* @expr: The #JsonPath expression.
- * @error: The return location for the #GError, or #NULL.
+ * @error: The return location for the #GError or #NULL.
*
* Gets an integer value from a parent #JsonNode with a #JsonPath
* expression.
@@ -360,7 +360,7 @@ fb_json_node_get_int(JsonNode *root, const gchar *expr, GError **error);
* fb_json_node_get_str:
* @root: The root #JsonNode.
* @expr: The #JsonPath expression.
- * @error: The return location for the #GError, or #NULL.
+ * @error: The return location for the #GError or #NULL.
*
* Gets an string value from a parent #JsonNode with a #JsonPath
* expression. The returned string should be freed with #g_free()
@@ -401,8 +401,8 @@ fb_json_values_add(FbJsonValues *values, FbJsonType type, gboolean required,
* @values: The #FbJsonValues.
*
* Gets the current working root #JsonNode. This is either the current
- * array #JsonNode, or the root #JsonNode. The returned #JsonNode
- * should not be freed.
+ * array #JsonNode or the root #JsonNode. The returned #JsonNode should
+ * not be freed.
*/
JsonNode *
fb_json_values_get_root(FbJsonValues *values);
@@ -422,7 +422,7 @@ fb_json_values_set_array(FbJsonValues *values, gboolean required,
/**
* fb_json_values_update:
* @values: The #FbJsonValues.
- * @error: The return location for the #GError, or #NULL.
+ * @error: The return location for the #GError or #NULL.
*
* Updates the current working root. This should be called after all of
* the #FbJsonValue's have been added with #fb_json_values_add(). If an