[gtk/wip/matthiasc/popup4: 74/140] Remove gdk_surface_get_root_coords as public api
- From: Matthias Clasen <matthiasc src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk/wip/matthiasc/popup4: 74/140] Remove gdk_surface_get_root_coords as public api
- Date: Mon, 29 Apr 2019 02:47:55 +0000 (UTC)
commit 70f0e01afc4925e50ab14ed75036021c3dd38b28
Author: Matthias Clasen <mclasen redhat com>
Date: Sun Mar 24 23:09:48 2019 -0400
Remove gdk_surface_get_root_coords as public api
We still need to keep the vfunc around, since the
fallback implementation for move_to_rect uses it.
So, a GDK backend must either have root coordinates
or implement move_to_rect.
docs/reference/gdk/gdk4-sections.txt | 1 -
gdk/gdkinternals.h | 5 +++++
gdk/gdksurface.h | 6 ------
3 files changed, 5 insertions(+), 7 deletions(-)
---
diff --git a/docs/reference/gdk/gdk4-sections.txt b/docs/reference/gdk/gdk4-sections.txt
index 8abf9cfd88..6537bb6ba8 100644
--- a/docs/reference/gdk/gdk4-sections.txt
+++ b/docs/reference/gdk/gdk4-sections.txt
@@ -263,7 +263,6 @@ gdk_surface_get_position
gdk_surface_get_root_origin
gdk_surface_get_frame_extents
gdk_surface_get_origin
-gdk_surface_get_root_coords
gdk_surface_get_device_position
GdkModifierType
GdkModifierIntent
diff --git a/gdk/gdkinternals.h b/gdk/gdkinternals.h
index 99130e6b80..cfeb65d5b2 100644
--- a/gdk/gdkinternals.h
+++ b/gdk/gdkinternals.h
@@ -346,6 +346,11 @@ GdkGrabStatus gdk_device_grab (GdkDevice *device,
guint32 time_);
void gdk_device_ungrab (GdkDevice *device,
guint32 time_);
+void gdk_surface_get_root_coords (GdkSurface *surface,
+ gint x,
+ gint y,
+ gint *root_x,
+ gint *root_y);
G_END_DECLS
diff --git a/gdk/gdksurface.h b/gdk/gdksurface.h
index 2ff71e62a6..3249810156 100644
--- a/gdk/gdksurface.h
+++ b/gdk/gdksurface.h
@@ -597,12 +597,6 @@ gint gdk_surface_get_origin (GdkSurface *surface,
gint *x,
gint *y);
GDK_AVAILABLE_IN_ALL
-void gdk_surface_get_root_coords (GdkSurface *surface,
- gint x,
- gint y,
- gint *root_x,
- gint *root_y);
-GDK_AVAILABLE_IN_ALL
void gdk_surface_get_root_origin (GdkSurface *surface,
gint *x,
gint *y);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]