summaryrefslogtreecommitdiff
path: root/gtk/gtkpopovermenu.c
diff options
context:
space:
mode:
authorMatthias Clasen <mclasen@redhat.com>2021-06-05 17:19:39 -0400
committerMatthias Clasen <mclasen@redhat.com>2021-06-05 17:19:39 -0400
commit94ad177176a98de679a630d42deef522df0af8e6 (patch)
tree2968a25b4f47713c90afdb8d9ec4928743e1ebee /gtk/gtkpopovermenu.c
parent4616104742e2918d9530df230e13b69605a19795 (diff)
downloadgtk+-94ad177176a98de679a630d42deef522df0af8e6.tar.gz
popovermenu: doc tweaks
Diffstat (limited to 'gtk/gtkpopovermenu.c')
-rw-r--r--gtk/gtkpopovermenu.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/gtk/gtkpopovermenu.c b/gtk/gtkpopovermenu.c
index 3d183f07b2..28b96cf468 100644
--- a/gtk/gtkpopovermenu.c
+++ b/gtk/gtkpopovermenu.c
@@ -63,8 +63,8 @@
* of a toplevel `<menu>` element, which contains one or more `<item>`
* elements. Each `<item>` element contains `<attribute>` and `<link>`
* elements with a mandatory name attribute. `<link>` elements have the
- * same content model as `<menu>`. Instead of `<link name="submenu>` or
- * `<link name="section">`, you can use `<submenu>` or `<section>`
+ * same content model as `<menu>`. Instead of `<link name="submenu">`
+ * or `<link name="section">`, you can use `<submenu>` or `<section>`
* elements.
*
* ```xml
@@ -99,8 +99,8 @@
* - "action": the prefixed name of the action to trigger
* - "target": the parameter to use when activating the action
* - "icon" and "verb-icon": names of icons that may be displayed
- * - "submenu-action": name of an action that may be used to determine
- * if a submenu can be opened
+ * - "submenu-action": name of an action that may be used to track
+ * whether a submenu is open
* - "hidden-when": a string used to determine when the item will be hidden.
* Possible values include "action-disabled", "action-missing", "macos-menubar".
* This is mainly useful for exported menus, see [method@Gtk.Application.set_menubar].