summaryrefslogtreecommitdiff
path: root/gtk/gtkcombobox.c
diff options
context:
space:
mode:
authorJonas Ådahl <jadahl@gmail.com>2020-12-04 09:20:50 +0100
committerJonas Ådahl <jadahl@gmail.com>2020-12-07 20:37:29 +0100
commit2cddec77983c02a711ad3920b0d3dba825be617b (patch)
treee9614611cd132d97611d9658b7234c09f64fd3e2 /gtk/gtkcombobox.c
parentf7fceab40b1d39fc7f8f2f1ac648a3ac3fad0cd1 (diff)
downloadgtk+-2cddec77983c02a711ad3920b0d3dba825be617b.tar.gz
gtk/popover: Use gtk_popover_present() instead of going via GtkNative
This makes it more explicit that managers of popovers make it "present".
Diffstat (limited to 'gtk/gtkcombobox.c')
-rw-r--r--gtk/gtkcombobox.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gtk/gtkcombobox.c b/gtk/gtkcombobox.c
index 30b4693078..0b2801e633 100644
--- a/gtk/gtkcombobox.c
+++ b/gtk/gtkcombobox.c
@@ -376,7 +376,7 @@ gtk_combo_box_size_allocate (GtkWidget *widget,
gtk_widget_set_size_request (priv->popup_widget,
MAX (width, menu_width), -1);
- gtk_native_check_resize (GTK_NATIVE (priv->popup_widget));
+ gtk_popover_present (GTK_POPOVER (priv->popup_widget));
}
static void