mirror of
https://gitlab.gnome.org/GNOME/gtk.git
synced 2024-12-26 21:51:08 +00:00
imcontext: Drop GTK_MAX_COMPOSE_LEN
Drop GTK_MAX_COMPOSE_LEN from docs. It is no longer used by GTK at all. We leave the define in place for now, to avoid breaking 3rd party code that might use it.
This commit is contained in:
parent
61f709811c
commit
edeaf9c040
@ -1831,7 +1831,6 @@ GtkIMContextSimple
|
||||
gtk_im_context_simple_new
|
||||
gtk_im_context_simple_add_table
|
||||
gtk_im_context_simple_add_compose_file
|
||||
GTK_MAX_COMPOSE_LEN
|
||||
<SUBSECTION Standard>
|
||||
GTK_IM_CONTEXT_SIMPLE
|
||||
GTK_IS_IM_CONTEXT_SIMPLE
|
||||
|
@ -1319,7 +1319,6 @@ gtk_im_context_simple_get_preedit_string (GtkIMContext *context,
|
||||
* @context_simple: A #GtkIMContextSimple
|
||||
* @data: (array): the table
|
||||
* @max_seq_len: Maximum length of a sequence in the table
|
||||
* (cannot be greater than #GTK_MAX_COMPOSE_LEN)
|
||||
* @n_seqs: number of sequences in the table
|
||||
*
|
||||
* Adds an additional table to search to the input context.
|
||||
@ -1339,7 +1338,6 @@ gtk_im_context_simple_add_table (GtkIMContextSimple *context_simple,
|
||||
int n_seqs)
|
||||
{
|
||||
g_return_if_fail (GTK_IS_IM_CONTEXT_SIMPLE (context_simple));
|
||||
g_return_if_fail (max_seq_len <= GTK_MAX_COMPOSE_LEN);
|
||||
|
||||
G_LOCK (global_tables);
|
||||
|
||||
|
@ -27,10 +27,9 @@
|
||||
|
||||
G_BEGIN_DECLS
|
||||
|
||||
/**
|
||||
* GTK_MAX_COMPOSE_LEN:
|
||||
*
|
||||
* The maximum length of sequences in compose tables.
|
||||
/*
|
||||
* No longer used by GTK, just left here on the off chance that some
|
||||
* 3rd party code used this define.
|
||||
*/
|
||||
#define GTK_MAX_COMPOSE_LEN 7
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user