wok-next annotate glib/stuff/patches/noisy-glib-compile-schemas.diff @ rev 20845

Add neofetch, tcl2c-fork; build two versions of tklauncher (using tcl2c and tcl2c-fork) with different warnings
author Aleksej Bobylev <al.bobylev@gmail.com>
date Sat Jun 23 09:45:42 2018 +0300 (2018-06-23)
parents
children
rev   line source
al@20730 1 diff --git i/gio/glib-compile-schemas.c w/gio/glib-compile-schemas.c
al@20730 2 index b8de0907248f6860..130f89b1728f7932 100644
al@20730 3 --- i/gio/glib-compile-schemas.c
al@20730 4 +++ w/gio/glib-compile-schemas.c
al@20730 5 @@ -1219,19 +1219,6 @@ parse_state_start_schema (ParseState *state,
al@20730 6 return;
al@20730 7 }
al@20730 8
al@20730 9 - if (path && (g_str_has_prefix (path, "/apps/") ||
al@20730 10 - g_str_has_prefix (path, "/desktop/") ||
al@20730 11 - g_str_has_prefix (path, "/system/")))
al@20730 12 - {
al@20730 13 - gchar *message = NULL;
al@20730 14 - message = g_strdup_printf (_("Warning: Schema “%s” has path “%s”. "
al@20730 15 - "Paths starting with "
al@20730 16 - "“/apps/”, “/desktop/” or “/system/” are deprecated."),
al@20730 17 - id, path);
al@20730 18 - g_printerr ("%s\n", message);
al@20730 19 - g_free (message);
al@20730 20 - }
al@20730 21 -
al@20730 22 state->schema_state = schema_state_new (path, gettext_domain,
al@20730 23 extends, extends_name, list_of);
al@20730 24