summaryrefslogtreecommitdiff
path: root/gtk/gtkcomposetable.h
diff options
context:
space:
mode:
authorMatthias Clasen <mclasen@redhat.com>2021-02-02 01:09:54 -0500
committerMatthias Clasen <mclasen@redhat.com>2021-02-02 11:54:53 -0500
commitcebf2b2009a4099166dddd5604e9c9c57af9350f (patch)
treef2f6513089ee50336c09cbfb19ae58d6d465bdf7 /gtk/gtkcomposetable.h
parent773ae0cd0f84b7d8e9aa0842656562713c3ceb93 (diff)
downloadgtk+-cebf2b2009a4099166dddd5604e9c9c57af9350f.tar.gz
composetable: Keep multi-char values
Keep string values in the table, and return them from the check function. This commit temporarily disables the table caching, since the cache format does not handle string values yet. Fixes: #186
Diffstat (limited to 'gtk/gtkcomposetable.h')
-rw-r--r--gtk/gtkcomposetable.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/gtk/gtkcomposetable.h b/gtk/gtkcomposetable.h
index 88fb3c032f..101aa94359 100644
--- a/gtk/gtkcomposetable.h
+++ b/gtk/gtkcomposetable.h
@@ -29,8 +29,10 @@ typedef struct _GtkComposeTableCompact GtkComposeTableCompact;
struct _GtkComposeTable
{
guint16 *data;
+ char *char_data;
int max_seq_len;
int n_seqs;
+ int n_chars;
guint32 id;
};