summaryrefslogtreecommitdiff
path: root/gtk/gtkmenusectionboxprivate.h
diff options
context:
space:
mode:
authorMatthias Clasen <mclasen@redhat.com>2019-08-27 09:28:29 +0100
committerMatthias Clasen <mclasen@redhat.com>2019-09-08 19:02:06 -0400
commitea44eade21a896c75b02bf8a148ba726f248f965 (patch)
tree8a5200d378ca87d7beab9aeeb1340bb2befcb317 /gtk/gtkmenusectionboxprivate.h
parentc75a368bab66180c2ebd2ca9483b419fa64840d9 (diff)
downloadgtk+-ea44eade21a896c75b02bf8a148ba726f248f965.tar.gz
Add nesting popover menus
Add a variant of popover menus that are nesting like traditional menus. This is a better fit for replacing traditional main menus.
Diffstat (limited to 'gtk/gtkmenusectionboxprivate.h')
-rw-r--r--gtk/gtkmenusectionboxprivate.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/gtk/gtkmenusectionboxprivate.h b/gtk/gtkmenusectionboxprivate.h
index 01508fe43a..05d6bd294e 100644
--- a/gtk/gtkmenusectionboxprivate.h
+++ b/gtk/gtkmenusectionboxprivate.h
@@ -41,8 +41,9 @@ G_BEGIN_DECLS
typedef struct _GtkMenuSectionBox GtkMenuSectionBox;
GType gtk_menu_section_box_get_type (void) G_GNUC_CONST;
-void gtk_menu_section_box_new_toplevel (GtkPopoverMenu *popover,
- GMenuModel *model);
+void gtk_menu_section_box_new_toplevel (GtkPopoverMenu *popover,
+ GMenuModel *model,
+ GtkPopoverMenuFlags flags);
G_END_DECLS