doc: Fix GstUri doc typos
authorNicolas Dufresne <nicolas.dufresne@collabora.co.uk>
Sun, 14 Jun 2015 00:37:34 +0000 (20:37 -0400)
committerNicolas Dufresne <nicolas.dufresne@collabora.co.uk>
Sun, 14 Jun 2015 00:37:34 +0000 (20:37 -0400)
* Use &perctn; instead of reserved character %
* NULL take two L

gst/gsturi.c

index fd905cb..b13dbca 100644 (file)
@@ -1441,7 +1441,7 @@ _gst_uri_string_to_table (const gchar * str, const gchar * part_sep,
  *                      elements.
  * @query: (nullable): The query string for the new URI with '&' separating
  *                       query elements. Elements containing '&' characters
- *                       should encode them as "%26".
+ *                       should encode them as "&percnt;26".
  * @fragment: (nullable): The fragment name for the new URI.
  *
  * Creates a new #GstUri object with the given URI parts. The path and query
@@ -1483,7 +1483,7 @@ gst_uri_new (const gchar * scheme, const gchar * userinfo, const gchar * host,
  *                      elements.
  * @query: (nullable): The query string for the new URI with '&' separating
  *                       query elements. Elements containing '&' characters
- *                       should encode them as "%26".
+ *                       should encode them as "&percnt;26".
  * @fragment: (nullable): The fragment name for the new URI.
  *
  * Like gst_uri_new(), but joins the new URI onto a base URI.
@@ -1946,7 +1946,7 @@ gst_uri_make_writable (GstUri * uri)
  *
  * Convert the URI to a string.
  *
- * Returns the URI as held in this object as a gchar* %NUL terminated string.
+ * Returns the URI as held in this object as a gchar* %NULL terminated string.
  * The caller should g_free() the string once they are finished with it.
  * The string is put together as described in RFC 3986.
  *