[gtk/wip/matthiasc/popup2: 87/93] wip: deprecate surface coordinate apis



commit 5b33613f46ab547f4550740a20e5fc8da69fb6d3
Author: Matthias Clasen <mclasen redhat com>
Date:   Sat Mar 23 13:34:56 2019 -0400

    wip: deprecate surface coordinate apis

 gdk/gdksurface.h | 12 ++++++------
 1 file changed, 6 insertions(+), 6 deletions(-)
---
diff --git a/gdk/gdksurface.h b/gdk/gdksurface.h
index 969daa3252..06271ceaca 100644
--- a/gdk/gdksurface.h
+++ b/gdk/gdksurface.h
@@ -597,34 +597,34 @@ GDK_AVAILABLE_IN_ALL
 int           gdk_surface_get_width       (GdkSurface       *surface);
 GDK_AVAILABLE_IN_ALL
 int           gdk_surface_get_height      (GdkSurface       *surface);
-GDK_AVAILABLE_IN_ALL
+GDK_DEPRECATED
 void          gdk_surface_get_position   (GdkSurface      *surface,
                                           gint            *x,
                                           gint            *y);
-GDK_AVAILABLE_IN_ALL
+GDK_DEPRECATED
 gint          gdk_surface_get_origin     (GdkSurface      *surface,
                                           gint            *x,
                                           gint            *y);
-GDK_AVAILABLE_IN_ALL
+GDK_DEPRECATED
 void          gdk_surface_get_root_coords (GdkSurface     *surface,
                                            gint             x,
                                            gint             y,
                                            gint            *root_x,
                                            gint            *root_y);
-GDK_AVAILABLE_IN_ALL
+GDK_DEPRECATED
 void       gdk_surface_coords_to_parent   (GdkSurface       *surface,
                                            gdouble          x,
                                            gdouble          y,
                                            gdouble         *parent_x,
                                            gdouble         *parent_y);
-GDK_AVAILABLE_IN_ALL
+GDK_DEPRECATED
 void       gdk_surface_coords_from_parent (GdkSurface       *surface,
                                            gdouble          parent_x,
                                            gdouble          parent_y,
                                            gdouble         *x,
                                            gdouble         *y);
 
-GDK_AVAILABLE_IN_ALL
+GDK_DEPRECATED
 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]