Improve the error message
authorJohan Dahlin <johan@gnome.org>
Wed, 9 Dec 2009 18:39:31 +0000 (16:39 -0200)
committerJohan Dahlin <johan@gnome.org>
Wed, 9 Dec 2009 18:39:47 +0000 (16:39 -0200)
girepository/gtypelib.c

index 30f7961..bc9896d 100644 (file)
@@ -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;
     }