[gtk/wip/jtojnar/compose-consistent-system] imcontextsimple: Document that Compose file support is incomplete
- From: Jan Tojnar <jtojnar src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk/wip/jtojnar/compose-consistent-system] imcontextsimple: Document that Compose file support is incomplete
- Date: Thu, 20 Oct 2022 14:21:16 +0000 (UTC)
commit cf701d5db44ed7c1a532b1106816da7ab1078fa1
Author: Jan Tojnar <jtojnar gmail com>
Date: Thu Oct 20 16:19:13 2022 +0200
imcontextsimple: Document that Compose file support is incomplete
And that `include "%L"` does something different as introduced in
https://gitlab.gnome.org/GNOME/gtk/-/commit/3b4b1c68781aad61fc6b91c9dff75b5790b4d8e4
Note that user can still use `include "/.%L"` as a workaround.
gtk/gtkimcontextsimple.c | 5 +++--
1 file changed, 3 insertions(+), 2 deletions(-)
---
diff --git a/gtk/gtkimcontextsimple.c b/gtk/gtkimcontextsimple.c
index bd492402ad..c9ff583614 100644
--- a/gtk/gtkimcontextsimple.c
+++ b/gtk/gtkimcontextsimple.c
@@ -46,8 +46,9 @@
* `GtkIMContextSimple` reads compose sequences from the first of the
* following files that is found: ~/.config/gtk-4.0/Compose, ~/.XCompose,
* /usr/share/X11/locale/$locale/Compose (for locales that have a nontrivial
- * Compose file). The syntax of these files is described in the Compose(5)
- * manual page.
+ * Compose file). A subset of the file syntax described in the Compose(5)
+ * manual page is supported. Additionally, `include "%L"` loads GTK’s built-in
+ * table of compose sequences rather than the locale-specific one from X11.
*
* If none of these files is found, `GtkIMContextSimple` uses a built-in table
* of compose sequences that is derived from the X11 Compose files.
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]