wok-next view 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 source
1 diff --git i/gio/glib-compile-schemas.c w/gio/glib-compile-schemas.c
2 index b8de0907248f6860..130f89b1728f7932 100644
3 --- i/gio/glib-compile-schemas.c
4 +++ w/gio/glib-compile-schemas.c
5 @@ -1219,19 +1219,6 @@ parse_state_start_schema (ParseState *state,
6 return;
7 }
9 - if (path && (g_str_has_prefix (path, "/apps/") ||
10 - g_str_has_prefix (path, "/desktop/") ||
11 - g_str_has_prefix (path, "/system/")))
12 - {
13 - gchar *message = NULL;
14 - message = g_strdup_printf (_("Warning: Schema “%s” has path “%s”. "
15 - "Paths starting with "
16 - "“/apps/”, “/desktop/” or “/system/” are deprecated."),
17 - id, path);
18 - g_printerr ("%s\n", message);
19 - g_free (message);
20 - }
21 -
22 state->schema_state = schema_state_new (path, gettext_domain,
23 extends, extends_name, list_of);