diff options
author | Matthias Clasen <mclasen@redhat.com> | 2021-07-14 07:38:32 -0400 |
---|---|---|
committer | Matthias Clasen <mclasen@redhat.com> | 2021-07-15 09:30:09 -0400 |
commit | 87e2a02e0c69cec7c04a48265761da13b99c9a2b (patch) | |
tree | 76b78813abb3fc8fe3aff0ef430e7d320f55b8bd /gtk/compose | |
parent | 264d592012c3d909e5fc4d07198ede73e1badbec (diff) | |
download | gtk+-87e2a02e0c69cec7c04a48265761da13b99c9a2b.tar.gz |
composetable: Rewrite Compose files if necessary
Apply heuristics to avoid breaking users existing configurations
with the change to not always add the default sequences.
If we find a cache that was generated before 4.4, and the Compose
file does not have an include, and doesn't contain so many sequences
that it is probably a copy of the system one, we take steps to keep
things working, and thell the user about it.
Diffstat (limited to 'gtk/compose')
-rw-r--r-- | gtk/compose/compose-parse.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gtk/compose/compose-parse.c b/gtk/compose/compose-parse.c index 55e9331f3e..e80b270453 100644 --- a/gtk/compose/compose-parse.c +++ b/gtk/compose/compose-parse.c @@ -26,7 +26,7 @@ main (int argc, char *argv[]) exit (1); } - table = gtk_compose_table_parse (argv[1]); + table = gtk_compose_table_parse (argv[1], NULL); if (!table) g_error ("Failed to parse %s", argv[1]); |