diff options
author | Matthias Clasen <mclasen@redhat.com> | 2020-02-24 07:21:46 -0500 |
---|---|---|
committer | Matthias Clasen <mclasen@redhat.com> | 2020-02-24 20:46:41 -0500 |
commit | a43d13aa74d6cd0ef3947a5a4d3feb43a7f07218 (patch) | |
tree | 8f427c096d4f6f1e2e6bfd2f1c0e12210bd66026 /gtk/gtkpopovermenuprivate.h | |
parent | 259f465e015756ee2724f182356fd6cd439e9bff (diff) | |
download | gtk+-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.h | 2 |
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, |