summaryrefslogtreecommitdiff
path: root/gtk/gtkcomposetable.h
diff options
context:
space:
mode:
authorTakao Fujiwara <tfujiwar@redhat.com>2015-09-07 18:10:16 +0900
committerMatthias Clasen <mclasen@redhat.com>2015-10-09 00:19:41 -0400
commit138187755fc16afca1898bfae6df8317e1c76429 (patch)
tree18eda39bc1827ab19b65fef2c6ff56b41ef2eb08 /gtk/gtkcomposetable.h
parent4535d09beade268cea1f2bbbd3bf8a207ea2cf58 (diff)
downloadgtk+-138187755fc16afca1898bfae6df8317e1c76429.tar.gz
Add gtk_compose_table_new_with_file() to create GtkComposeTable
https://bugzilla.gnome.org/show_bug.cgi?id=721120
Diffstat (limited to 'gtk/gtkcomposetable.h')
-rw-r--r--gtk/gtkcomposetable.h11
1 files changed, 10 insertions, 1 deletions
diff --git a/gtk/gtkcomposetable.h b/gtk/gtkcomposetable.h
index fb3e8b2244..f2e8e8de3d 100644
--- a/gtk/gtkcomposetable.h
+++ b/gtk/gtkcomposetable.h
@@ -28,9 +28,10 @@ typedef struct _GtkComposeTableCompact GtkComposeTableCompact;
struct _GtkComposeTable
{
- const guint16 *data;
+ guint16 *data;
gint max_seq_len;
gint n_seqs;
+ guint32 id;
};
struct _GtkComposeTableCompact
@@ -41,6 +42,14 @@ struct _GtkComposeTableCompact
gint n_index_stride;
};
+GtkComposeTable * gtk_compose_table_new_with_file (const gchar *compose_file);
+GSList *gtk_compose_table_list_add_array (GSList *compose_tables,
+ const guint16 *data,
+ gint max_seq_len,
+ gint n_seqs);
+GSList *gtk_compose_table_list_add_file (GSList *compose_tables,
+ const gchar *compose_file);
+
G_END_DECLS
#endif /* __GTK_COMPOSETABLE_H__ */