diff options
author | Matthias Clasen <mclasen@redhat.com> | 2019-04-21 16:51:10 +0000 |
---|---|---|
committer | Matthias Clasen <mclasen@redhat.com> | 2019-05-28 20:25:14 +0000 |
commit | d2951d3aac5c893b76c8d32565728b7da286f638 (patch) | |
tree | 3d362cddbefecf2aff06ae76d9e836bb6574dad9 /gdk/gdksurface.h | |
parent | 0571fc265bf0682ed3eef886849b27996ace0709 (diff) | |
download | gtk+-d2951d3aac5c893b76c8d32565728b7da286f638.tar.gz |
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.
Diffstat (limited to 'gdk/gdksurface.h')
-rw-r--r-- | gdk/gdksurface.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/gdk/gdksurface.h b/gdk/gdksurface.h index e1e0c53d0d..03bc5f02f3 100644 --- a/gdk/gdksurface.h +++ b/gdk/gdksurface.h @@ -49,7 +49,7 @@ typedef struct _GdkGeometry GdkGeometry; typedef enum { GDK_SURFACE_TOPLEVEL, - GDK_SURFACE_TEMP + GDK_SURFACE_TEMP, } GdkSurfaceType; /* Size restriction enumeration. @@ -435,10 +435,10 @@ GdkSurface * gdk_surface_new_toplevel (GdkDisplay *display, int width, int height); GDK_AVAILABLE_IN_ALL -GdkSurface * gdk_surface_new_popup (GdkDisplay *display, +GdkSurface * gdk_surface_new_temp (GdkDisplay *display, const GdkRectangle *position); GDK_AVAILABLE_IN_ALL -GdkSurface * gdk_surface_new_popup_full (GdkDisplay *display, +GdkSurface * gdk_surface_new_popup (GdkDisplay *display, GdkSurface *parent); GDK_AVAILABLE_IN_ALL |