Improve the wording of the warning for invalid

values.  (#117246, Mariano Suarez-Alvarez)
This commit is contained in:
Matthias Clasen
2003-08-08 19:47:59 +00:00
parent 63ac98ef80
commit 96ca8c89e6

View File

@@ -589,7 +589,7 @@ object_set_property (GObject *object,
{ {
gchar *contents = g_strdup_value_contents (value); gchar *contents = g_strdup_value_contents (value);
g_warning ("value \"%s\" of type `%s' is invalid for property `%s' of type `%s'", g_warning ("value \"%s\" of type `%s' is invalid or out of range for property `%s' of type `%s'",
contents, contents,
G_VALUE_TYPE_NAME (value), G_VALUE_TYPE_NAME (value),
pspec->name, pspec->name,