[gjs] arg: Fix error message



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]