wok-next diff glib/stuff/patches/noisy-glib-compile-schemas.diff @ rev 21005
Small updates
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Mon Oct 08 11:41:17 2018 +0300 (2018-10-08) |
parents | |
children |
line diff
1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 1.2 +++ b/glib/stuff/patches/noisy-glib-compile-schemas.diff Mon Oct 08 11:41:17 2018 +0300 1.3 @@ -0,0 +1,24 @@ 1.4 +diff --git i/gio/glib-compile-schemas.c w/gio/glib-compile-schemas.c 1.5 +index b8de0907248f6860..130f89b1728f7932 100644 1.6 +--- i/gio/glib-compile-schemas.c 1.7 ++++ w/gio/glib-compile-schemas.c 1.8 +@@ -1219,19 +1219,6 @@ parse_state_start_schema (ParseState *state, 1.9 + return; 1.10 + } 1.11 + 1.12 +- if (path && (g_str_has_prefix (path, "/apps/") || 1.13 +- g_str_has_prefix (path, "/desktop/") || 1.14 +- g_str_has_prefix (path, "/system/"))) 1.15 +- { 1.16 +- gchar *message = NULL; 1.17 +- message = g_strdup_printf (_("Warning: Schema “%s” has path “%s”. " 1.18 +- "Paths starting with " 1.19 +- "“/apps/”, “/desktop/” or “/system/” are deprecated."), 1.20 +- id, path); 1.21 +- g_printerr ("%s\n", message); 1.22 +- g_free (message); 1.23 +- } 1.24 +- 1.25 + state->schema_state = schema_state_new (path, gettext_domain, 1.26 + extends, extends_name, list_of); 1.27 +