desktop-file-utils/desktop-file-utils-0.11-make-category-validation-non-fatal.patch

21 lines
909 B
Diff

--- desktop-file-utils-0.11/src/validate.c.make-category-validation-non-fatal 2006-04-18 18:03:13.000000000 -0400
+++ desktop-file-utils-0.11/src/validate.c 2006-10-27 14:33:53.000000000 -0400
@@ -208,7 +208,7 @@
{
if (strcmp (vals[i], categories_keys[j]) != 0)
{
- print_fatal (filename, "%s values are case sensitive (should be \"%s\" instead of \"%s\")\n",
+ print_warning (filename, "%s values are case sensitive (should be \"%s\" instead of \"%s\")\n",
key, categories_keys[j], vals[i]);
}
break;
@@ -221,7 +221,7 @@
char *valid_categories;
valid_categories = g_strjoinv ("\", \"", (gchar **) categories_keys);
- print_fatal (filename, "%s values must be one of \"%s\" (found \"%s\")\n",
+ print_warning (filename, "%s values must be one of \"%s\" (found \"%s\")\n",
key, valid_categories, vals[i]);
g_free (valid_categories);
}