[gtk/matthiasc/for-master: 2/2] docs: Escape some xml tags
- From: Matthias Clasen <matthiasc src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk/matthiasc/for-master: 2/2] docs: Escape some xml tags
- Date: Fri, 4 Jun 2021 12:07:16 +0000 (UTC)
commit b6cd97be1e0f8eebb33ab60d31576992f916d0e3
Author: Matthias Clasen <mclasen redhat com>
Date: Fri Jun 4 08:06:18 2021 -0400
docs: Escape some xml tags
When mentioning xml tags in markdown, we must write
them as `<foo>`, or they will come out mangled.
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 ad0f248c18..52b22fd847 100644
--- a/docs/reference/gtk/migrating-3to4.md
+++ b/docs/reference/gtk/migrating-3to4.md
@@ -740,7 +740,7 @@ The abstract base class `GtkBin` for single-child containers has been
removed. The former subclasses are now derived directly from `GtkWidget`,
and have a "child" property for their child widget. To add a child, use
the setter for the "child" property (e.g. [method@Gtk.Frame.set_child]) instead
-of `gtk_container_add()`. Adding a child in a ui file with <child> still works.
+of `gtk_container_add()`. Adding a child in a ui file with `<child>` still works.
The affected classes are:
@@ -766,7 +766,7 @@ expand flags) and [vfunc@Gtk.Widget.get_request_mode] (if you want your
container to support height-for-width).
You may also want to implement the [iface@Gtk.Buildable] interface, to support
-adding children with <child> in ui files.
+adding children with `<child>` in ui files.
### Adapt to GtkContainer removal
@@ -777,7 +777,7 @@ and have class-specific add() and remove() functions.
The most noticeable change is the use of [method Gtk Box.append] or [method Gtk Box.prepend]
instead of `gtk_container_add()` for adding children to `GtkBox`, and the change
to use container-specific remove functions, such as [method@Gtk.Stack.remove] instead
-of `gtk_container_remove()`. Adding a child in a ui file with <child> still works.
+of `gtk_container_remove()`. Adding a child in a ui file with `<child>` still works.
The affected classes are:
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]