gobject-introspection r909 - in trunk: . tests/everything
- From: tko svn gnome org
- To: svn-commits-list gnome org
- Subject: gobject-introspection r909 - in trunk: . tests/everything
- Date: Thu, 13 Nov 2008 15:18:30 +0000 (UTC)
Author: tko
Date: Thu Nov 13 15:18:30 2008
New Revision: 909
URL: http://svn.gnome.org/viewvc/gobject-introspection?rev=909&view=rev
Log:
Return strings in filename encoding.
2008-11-13 Tommi Komulainen <tommi komulainen iki fi>
* tests/everything/gitesttypes.c (test_filename_return): Return
strings in filename encoding.
Modified:
trunk/ChangeLog
trunk/tests/everything/gitesttypes.c
Modified: trunk/tests/everything/gitesttypes.c
==============================================================================
--- trunk/tests/everything/gitesttypes.c (original)
+++ trunk/tests/everything/gitesttypes.c Thu Nov 13 15:18:30 2008
@@ -143,13 +143,13 @@
/**
* test_filename_return:
*
- * Return value: (element-type filename) (transfer none): list of strings
+ * Return value: (element-type filename) (transfer full): list of strings
*/
GSList *test_filename_return (void)
{
GSList *filenames = NULL;
- filenames = g_slist_prepend (filenames, "/etc/fstab");
- filenames = g_slist_prepend (filenames, "ÃÃÃ");
+ filenames = g_slist_prepend (filenames, g_filename_from_utf8("/etc/fstab", -1, NULL, NULL, NULL));
+ filenames = g_slist_prepend (filenames, g_filename_from_utf8("ÃÃÃ", -1, NULL, NULL, NULL));
return filenames;
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]