summaryrefslogtreecommitdiff
path: root/gdk/gdksurface.h
diff options
context:
space:
mode:
authorMatthias Clasen <mclasen@redhat.com>2019-05-02 17:43:38 -0400
committerMatthias Clasen <mclasen@redhat.com>2019-05-28 20:25:15 +0000
commit18e396ef6ccbb0ace90a47c8f1abe992352e184b (patch)
treed2ea17fe5aa868106360b22f26f53ba21cfb5b9a /gdk/gdksurface.h
parentebb89bca0dbaefc57c655a7c977e5d3c9d73f0d3 (diff)
downloadgtk+-18e396ef6ccbb0ace90a47c8f1abe992352e184b.tar.gz
Add gdk_surface_get_parent back
The api is the same, the parent is different. This now returns the parent of popup surfaces.
Diffstat (limited to 'gdk/gdksurface.h')
-rw-r--r--gdk/gdksurface.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/gdk/gdksurface.h b/gdk/gdksurface.h
index 45705fb51a..4bc98b6193 100644
--- a/gdk/gdksurface.h
+++ b/gdk/gdksurface.h
@@ -437,6 +437,9 @@ GDK_AVAILABLE_IN_ALL
gboolean gdk_surface_is_destroyed (GdkSurface *surface);
GDK_AVAILABLE_IN_ALL
+GdkSurface * gdk_surface_get_parent (GdkSurface *surface);
+
+GDK_AVAILABLE_IN_ALL
GdkDisplay * gdk_surface_get_display (GdkSurface *surface);
GDK_AVAILABLE_IN_ALL
void gdk_surface_show (GdkSurface *surface);