[gtk/ebassi/migrating-clipboard: 1/2] docs: Preformat some symbols
- From: Emmanuele Bassi <ebassi src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk/ebassi/migrating-clipboard: 1/2] docs: Preformat some symbols
- Date: Tue, 5 Jan 2021 16:52:38 +0000 (UTC)
commit 1995b7f34bfd35ba47935e49e172dbdbd2d085ab
Author: Emmanuele Bassi <ebassi gnome org>
Date: Tue Jan 5 16:19:21 2021 +0000
docs: Preformat some symbols
docs/reference/gtk/migrating-3to4.md | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
---
diff --git a/docs/reference/gtk/migrating-3to4.md b/docs/reference/gtk/migrating-3to4.md
index bd66bea510..df6ade902b 100644
--- a/docs/reference/gtk/migrating-3to4.md
+++ b/docs/reference/gtk/migrating-3to4.md
@@ -407,7 +407,7 @@ and gdk_keymap_get_entries_for_keyval().
GTK 3 has the idea that use of modifiers may differ between different
platforms, and has a #GdkModifierIntent api to let platforms provide
hint about how modifiers are expected to be used. It also promoted
-the use of <Primary> instead of <Control> to specify accelerators that
+the use of `<Primary>` instead of `<Control>` to specify accelerators that
adapt to platform conventions.
In GTK 4, the meaning of modifiers has been fixed, and backends are
@@ -426,13 +426,13 @@ GDK_CONTROL_MASK|GDK_ALT_MASK
: Prevent text input
Consequently, #GdkModifierIntent and related APIs have been removed,
-and <Control> is preferred over <Primary> in accelerators.
+and `<Control>` is preferred over `<Primary>` in accelerators.
A related change is that GTK 4 no longer supports the use of archaic
X11 'real' modifiers with the names Mod1,..., Mod5, and %GDK_MOD1_MASK
has been renamed to %GDK_ALT_MASK.
-### Stop using gtk_get_current_... APIs
+### Stop using `gtk_get_current_...` APIs
The function gtk_get_current_event() and its variants have been
replaced by equivalent event controller APIs:
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]