From 54dffa07f309c90677ae57eea8feb41acc5be717 Mon Sep 17 00:00:00 2001
From: Matthias Clasen <mclasen@redhat.com>
Date: Thu, 8 Jul 2021 17:59:50 -0400
Subject: composetable: Drop GtkComposeTableCompact

All tables use the compact format now, and we generate
caches in that format too. Bump the cache version to 3
for this.

Replace the python script for generating the builtin table
by a small C program using the same code to generate the data
for the builtin table. This drops the restriction on only
generating a single character in the builtin sequences.
---
 gtk/compose/gtkcomposedata.h | 9 +++++++++
 1 file changed, 9 insertions(+)
 create mode 100644 gtk/compose/gtkcomposedata.h

(limited to 'gtk/compose/gtkcomposedata.h')

diff --git a/gtk/compose/gtkcomposedata.h b/gtk/compose/gtkcomposedata.h
new file mode 100644
index 0000000000..057347a36b
--- /dev/null
+++ b/gtk/compose/gtkcomposedata.h
@@ -0,0 +1,9 @@
+#ifndef __GTK_COMPOSE_DATA__
+#define __GTK_COMPOSE_DATA__
+
+#define MAX_SEQ_LEN 5
+#define N_INDEX_SIZE 30
+#define DATA_SIZE 16521
+#define N_CHARS 1572
+
+#endif
-- 
cgit v1.2.1