summaryrefslogtreecommitdiff
path: root/gtk/gtkpopovermenuprivate.h
diff options
context:
space:
mode:
authorMatthias Clasen <mclasen@redhat.com>2020-02-24 07:21:46 -0500
committerMatthias Clasen <mclasen@redhat.com>2020-02-24 20:46:41 -0500
commita43d13aa74d6cd0ef3947a5a4d3feb43a7f07218 (patch)
tree8f427c096d4f6f1e2e6bfd2f1c0e12210bd66026 /gtk/gtkpopovermenuprivate.h
parent259f465e015756ee2724f182356fd6cd439e9bff (diff)
downloadgtk+-a43d13aa74d6cd0ef3947a5a4d3feb43a7f07218.tar.gz
popover: Drop ::relative-to
It is enough to just set the parent (and make the parent call gtk_native_check_resize in size_allocate). This commit removes the relative_to argument to the constructors of GtkPopover and GtkPopoverMenu, and updates all callers.
Diffstat (limited to 'gtk/gtkpopovermenuprivate.h')
-rw-r--r--gtk/gtkpopovermenuprivate.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/gtk/gtkpopovermenuprivate.h b/gtk/gtkpopovermenuprivate.h
index b0062cf560..215fa1ea99 100644
--- a/gtk/gtkpopovermenuprivate.h
+++ b/gtk/gtkpopovermenuprivate.h
@@ -32,7 +32,7 @@ GtkWidget *gtk_popover_menu_get_parent_menu (GtkPopoverMenu *menu);
void gtk_popover_menu_set_parent_menu (GtkPopoverMenu *menu,
GtkWidget *parent);
-GtkWidget * gtk_popover_menu_new (GtkWidget *relative_to);
+GtkWidget * gtk_popover_menu_new (void);
void gtk_popover_menu_add_submenu (GtkPopoverMenu *popover,
GtkWidget *submenu,