[gtk/wip/matthiasc/popup4: 56/57] Remove gdk_surface_get_geometry as public api
- From: Matthias Clasen <matthiasc src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk/wip/matthiasc/popup4: 56/57] Remove gdk_surface_get_geometry as public api
- Date: Fri, 19 Apr 2019 19:22:54 +0000 (UTC)
commit 2f8ce1f3c2ffc5495130944ac4028c7d12bf5634
Author: Matthias Clasen <mclasen redhat com>
Date: Mon Mar 25 00:00:14 2019 -0400
Remove gdk_surface_get_geometry as public api
We still need to keep the vfunc around, since the
fallback implementation of gdk_display_get_monitor_at_surface
uses it. So, a GDK backend must either have root coordinates
or always return a monitor from monitor_at_surface.
docs/reference/gdk/gdk4-sections.txt | 1 -
gdk/gdkinternals.h | 6 ++++++
gdk/gdksurface.h | 6 ------
3 files changed, 6 insertions(+), 7 deletions(-)
---
diff --git a/docs/reference/gdk/gdk4-sections.txt b/docs/reference/gdk/gdk4-sections.txt
index 9eb63c083b..420977ec22 100644
--- a/docs/reference/gdk/gdk4-sections.txt
+++ b/docs/reference/gdk/gdk4-sections.txt
@@ -251,7 +251,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 9f2a4eff01..88acd37b66 100644
--- a/gdk/gdkinternals.h
+++ b/gdk/gdkinternals.h
@@ -348,6 +348,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 6b027ede57..f78a2a0541 100644
--- a/gdk/gdksurface.h
+++ b/gdk/gdksurface.h
@@ -589,12 +589,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);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]