From 93a7511672d9edbb9dc007de4ab4d635165ed73f Mon Sep 17 00:00:00 2001 From: Michael Palimaka Date: Wed, 12 Sep 2012 21:00:23 +1000 Subject: [PATCH] validate: lack of main category should be a warning instead of fatal error See http://cgit.freedesktop.org/xdg/xdg-specs/commit?id=5a9f05d86973 See https://bugs.freedesktop.org/show_bug.cgi?id=35844 --- src/validate.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/validate.c b/src/validate.c index 8e0d869..047767e 100644 --- a/src/validate.c +++ b/src/validate.c @@ -1610,10 +1610,9 @@ handle_categories_key (kf_validator *kf, g_hash_table_destroy (hashtable); if (!main_category_present) { - print_future_fatal (kf, "value \"%s\" for key \"%s\" in group \"%s\" " + print_warning (kf, "value \"%s\" for key \"%s\" in group \"%s\" " "does not contain a registered main category\n", value, locale_key, kf->current_group, categories[i]); - retval = FALSE; } return retval; -- 1.7.12