[seed] [gettext] Matt made up some functions, and build failed to warn about them (?)
- From: Tim Horton <hortont src gnome org>
- To: svn-commits-list gnome org
- Subject: [seed] [gettext] Matt made up some functions, and build failed to warn about them (?)
- Date: Thu, 2 Jul 2009 08:56:17 +0000 (UTC)
commit f6dd1bc8902254444c4a9e0a5729f043bf26dca8
Author: Tim Horton <hortont424 gmail com>
Date: Thu Jul 2 04:55:28 2009 -0400
[gettext] Matt made up some functions, and build failed to warn about them (?)
modules/gettext/gettext.c | 10 +++++-----
1 files changed, 5 insertions(+), 5 deletions(-)
---
diff --git a/modules/gettext/gettext.c b/modules/gettext/gettext.c
index 5651f50..1371390 100644
--- a/modules/gettext/gettext.c
+++ b/modules/gettext/gettext.c
@@ -202,7 +202,7 @@ seed_gettext_ngettext (SeedContext ctx,
msgid = seed_value_to_string (ctx, args[0], exception);
msgid_plural = seed_value_to_string (ctx, args[1], exception);
- n = seed_value_to_guint (ctx, args[2], exception);
+ n = seed_value_to_uint (ctx, args[2], exception);
ret = seed_value_from_string (ctx, ngettext(msgid, msgid_plural, n), exception);
g_free(msgid);
@@ -234,7 +234,7 @@ seed_gettext_dngettext (SeedContext ctx,
domainname = seed_value_to_string (ctx, args[0], exception);
msgid = seed_value_to_string (ctx, args[1], exception);
msgid_plural = seed_value_to_string (ctx, args[2], exception);
- n = seed_value_to_guint (ctx, args[3], exception);
+ n = seed_value_to_uint (ctx, args[3], exception);
ret = seed_value_from_string (ctx, dngettext(domainname, msgid, msgid_plural, n), exception);
g_free(domainname);
@@ -268,8 +268,8 @@ seed_gettext_dcngettext (SeedContext ctx,
domainname = seed_value_to_string (ctx, args[0], exception);
msgid = seed_value_to_string (ctx, args[1], exception);
msgid_plural = seed_value_to_string (ctx, args[2], exception);
- n = seed_value_to_guint (ctx, args[3], exception);
- category = seed_value_to_gint (ctx, args[4], exception);
+ n = seed_value_to_uint (ctx, args[3], exception);
+ category = seed_value_to_int (ctx, args[4], exception);
ret = seed_value_from_string (ctx,
dcngettext(domainname, msgid, msgid_plural, n, category),
@@ -301,7 +301,7 @@ seed_gettext_setlocale (SeedContext ctx,
return seed_make_null (ctx);
}
- category = seed_value_to_gint (ctx, args[0], exception);
+ category = seed_value_to_int (ctx, args[0], exception);
locale = seed_value_to_string (ctx, args[1], exception);
ret = seed_value_from_string (ctx,
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]