diff --git a/docs/reference/gdk/gdk4-sections.txt b/docs/reference/gdk/gdk4-sections.txt index c19a342795..3228f21646 100644 --- a/docs/reference/gdk/gdk4-sections.txt +++ b/docs/reference/gdk/gdk4-sections.txt @@ -250,7 +250,6 @@ gdk_surface_set_title GDK_PARENT_RELATIVE gdk_surface_set_cursor gdk_surface_get_cursor -gdk_surface_get_geometry gdk_surface_set_geometry_hints gdk_surface_get_width gdk_surface_get_height diff --git a/gdk/gdkinternals.h b/gdk/gdkinternals.h index 8f89e08067..bbfd58cb37 100644 --- a/gdk/gdkinternals.h +++ b/gdk/gdkinternals.h @@ -347,6 +347,12 @@ void gdk_surface_get_root_coords (GdkSurface *surface, gint *root_x, gint *root_y); +void gdk_surface_get_geometry (GdkSurface *surface, + gint *x, + gint *y, + gint *width, + gint *height); + G_END_DECLS diff --git a/gdk/gdksurface.h b/gdk/gdksurface.h index 3ad09cd974..c39fc885b6 100644 --- a/gdk/gdksurface.h +++ b/gdk/gdksurface.h @@ -579,12 +579,6 @@ GDK_AVAILABLE_IN_ALL GdkCursor *gdk_surface_get_device_cursor (GdkSurface *surface, GdkDevice *device); GDK_AVAILABLE_IN_ALL -void gdk_surface_get_geometry (GdkSurface *surface, - gint *x, - gint *y, - gint *width, - gint *height); -GDK_AVAILABLE_IN_ALL int gdk_surface_get_width (GdkSurface *surface); GDK_AVAILABLE_IN_ALL int gdk_surface_get_height (GdkSurface *surface);