summaryrefslogtreecommitdiff
path: root/gio/glib-compile-schemas.c
diff options
context:
space:
mode:
authorRyan Lortie <desrt@desrt.ca>2011-07-19 16:12:30 +0200
committerRyan Lortie <desrt@desrt.ca>2011-07-19 16:12:30 +0200
commitfe6dad271b06e6243d17137c2e0991f56a256cca (patch)
tree5a03cf58356fe25f387866e6b14913d7f3f3bbce /gio/glib-compile-schemas.c
parent9fd0f6c8e23e8cd8353039c99fa73583a7892b4f (diff)
downloadglib-fe6dad271b06e6243d17137c2e0991f56a256cca.tar.gz
GSettings: remove key length restrictions
The key length now stands effectively unlimited at 1024 characters. https://bugzilla.gnome.org/show_bug.cgi?id=654536
Diffstat (limited to 'gio/glib-compile-schemas.c')
-rw-r--r--gio/glib-compile-schemas.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/gio/glib-compile-schemas.c b/gio/glib-compile-schemas.c
index 8d20bbfe7..72bc7ca2d 100644
--- a/gio/glib-compile-schemas.c
+++ b/gio/glib-compile-schemas.c
@@ -783,10 +783,10 @@ is_valid_keyname (const gchar *key,
return FALSE;
}
- if (i > 32)
+ if (i > 1024)
{
g_set_error (error, G_MARKUP_ERROR, G_MARKUP_ERROR_INVALID_CONTENT,
- _("invalid name '%s': maximum length is 32"), key);
+ _("invalid name '%s': maximum length is 1024"), key);
return FALSE;
}