[gjs] arg: Fix error message
- From: Jasper St. Pierre <jstpierre src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gjs] arg: Fix error message
- Date: Tue, 21 Aug 2012 14:22:16 +0000 (UTC)
commit 6546426343ef06cd27857e082a083b07cd1084d0
Author: Jasper St. Pierre <jstpierre mecheye net>
Date: Mon Aug 20 19:54:28 2012 -0400
arg: Fix error message
Int arrays are not string arrays
gi/arg.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/gi/arg.c b/gi/arg.c
index 39b2c2c..75c1525 100644
--- a/gi/arg.c
+++ b/gi/arg.c
@@ -582,7 +582,7 @@ gjs_array_to_intarray(JSContext *context,
if (!success) {
g_free(result);
gjs_throw(context,
- "Invalid element in string array");
+ "Invalid element in int array");
return JS_FALSE;
}
/* Note that this is truncating assignment. */
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]