[gobject-introspection] Improve the error message



commit 79450515e879b8ac4bf4aff1ebdced79ddb1fb35
Author: Johan Dahlin <johan gnome org>
Date:   Wed Dec 9 16:39:31 2009 -0200

    Improve the error message

 girepository/gtypelib.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/girepository/gtypelib.c b/girepository/gtypelib.c
index 30f7961..bc9896d 100644
--- a/girepository/gtypelib.c
+++ b/girepository/gtypelib.c
@@ -251,7 +251,7 @@ validate_name (GTypelib   *typelib,
       g_set_error (error,
 		   G_TYPELIB_ERROR,
 		   G_TYPELIB_ERROR_INVALID,
-		   "The %s is contains invalid characters: %s",
+		   "The %s contains invalid characters: '%s'",
 		   msg, name);
       return FALSE;
     }



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]