summaryrefslogtreecommitdiff
path: root/gtk/gtkcomposetable.h
diff options
context:
space:
mode:
authorMatthias Clasen <mclasen@redhat.com>2021-02-01 20:27:38 -0500
committerMatthias Clasen <mclasen@redhat.com>2021-02-01 20:27:38 -0500
commit5d9509c51b0ffe7b77c15c5f3a0bac1f8fa4de03 (patch)
treeba950f5c9414991cb85b976d0e1b3c9de20e875c /gtk/gtkcomposetable.h
parentc9cac5fbc3f0d7eccef9bcd10157fbeccab23e86 (diff)
downloadgtk+-5d9509c51b0ffe7b77c15c5f3a0bac1f8fa4de03.tar.gz
imcontext: Move code around
Move all the checking code to gtkcomposetable.c, and add api that we can use in tests.
Diffstat (limited to 'gtk/gtkcomposetable.h')
-rw-r--r--gtk/gtkcomposetable.h14
1 files changed, 13 insertions, 1 deletions
diff --git a/gtk/gtkcomposetable.h b/gtk/gtkcomposetable.h
index 69d82652d1..2b31f3678f 100644
--- a/gtk/gtkcomposetable.h
+++ b/gtk/gtkcomposetable.h
@@ -51,12 +51,24 @@ GSList * gtk_compose_table_list_add_file (GSList *compose_tab
const char *compose_file);
gboolean gtk_compose_table_check (const GtkComposeTable *table,
- guint16 *compose_buffer,
+ const guint16 *compose_buffer,
int n_compose,
gboolean *compose_finish,
gboolean *compose_match,
gunichar *output_value);
+gboolean gtk_compose_table_compact_check (const GtkComposeTableCompact *table,
+ const guint16 *compose_buffer,
+ int n_compose,
+ gboolean *compose_finish,
+ gboolean *compose_match,
+ gunichar *output_char);
+
+gboolean gtk_check_algorithmically (const guint16 *compose_buffer,
+ int n_compose,
+ gunichar *output);
+
+
G_END_DECLS
#endif /* __GTK_COMPOSETABLE_H__ */