From d2951d3aac5c893b76c8d32565728b7da286f638 Mon Sep 17 00:00:00 2001 From: Matthias Clasen Date: Sun, 21 Apr 2019 16:51:10 +0000 Subject: Rename surface constructors We want to use a gdk_surface_new_popup for popups, and align the constructor names with the surface types, so rename gdk_surface_new_popup -> gdk_surface_new_temp gdk_surface_new_popup_full -> gdk_surface_new_popup The temp surface type will disappear eventually. --- gtk/gtkpopover.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'gtk/gtkpopover.c') diff --git a/gtk/gtkpopover.c b/gtk/gtkpopover.c index 8b70335fdb..90457cbed5 100644 --- a/gtk/gtkpopover.c +++ b/gtk/gtkpopover.c @@ -479,7 +479,7 @@ gtk_popover_realize (GtkWidget *widget) display = gtk_widget_get_display (priv->relative_to); - priv->surface = gdk_surface_new_popup_full (display, gtk_widget_get_surface (priv->relative_to)); + priv->surface = gdk_surface_new_popup (display, gtk_widget_get_surface (priv->relative_to)); gtk_widget_set_surface (widget, priv->surface); gdk_surface_set_widget (priv->surface, widget); -- cgit v1.2.1