docs: gst_error_get_message() returns string in UTF-8, not current locale
authorTim-Philipp Müller <tim.muller@collabora.co.uk>
Tue, 7 Dec 2010 18:46:01 +0000 (18:46 +0000)
committerTim-Philipp Müller <tim.muller@collabora.co.uk>
Tue, 7 Dec 2010 19:34:46 +0000 (19:34 +0000)
We tell gettext to return everything in UTF-8 encoding.

gst/gsterror.c

index a9b13ff..0183c34 100644 (file)
@@ -300,8 +300,8 @@ QUARK_FUNC (stream);
  *
  * Get a string describing the error message in the current locale.
  *
- * Returns: (transfer full) (type gchar*): a newly allocated string describing
- *     the error message in the current locale.
+ * Returns: (transfer full): a newly allocated string describing
+ *     the error message (in UTF-8 encoding)
  */
 gchar *
 gst_error_get_message (GQuark domain, gint code)