diff options
author | Matthias Clasen <mclasen@redhat.com> | 2012-02-27 07:07:48 -0500 |
---|---|---|
committer | Matthias Clasen <mclasen@redhat.com> | 2012-02-27 07:11:43 -0500 |
commit | d36c10bc03ae113d24d60314d900e68be0fbb7b1 (patch) | |
tree | e7fac184cf6363d575a9eab5057c2e612c6bc8c8 /gdk/gdkwindow.h | |
parent | e580c79ae05a10fb33313b9ae36d95905cfc7b89 (diff) | |
download | gtk+-d36c10bc03ae113d24d60314d900e68be0fbb7b1.tar.gz |
gdk: Use versioned deprecations
This patch changes all uses of GDK_DEPRECATED(_FOR) in gdk headers
by the versioned variants, GDK_DEPRECATED_IN_3_x(_FOR). At the same
time, we add GDK_AVAILABLE_IN_3_x annotations for all API additions
in 3.2 and 3.4.
Diffstat (limited to 'gdk/gdkwindow.h')
-rw-r--r-- | gdk/gdkwindow.h | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/gdk/gdkwindow.h b/gdk/gdkwindow.h index f6b2be79a7..c240dfba14 100644 --- a/gdk/gdkwindow.h +++ b/gdk/gdkwindow.h @@ -31,6 +31,7 @@ #ifndef __GDK_WINDOW_H__ #define __GDK_WINDOW_H__ +#include <gdk/gdkversionmacros.h> #include <gdk/gdktypes.h> #include <gdk/gdkevents.h> @@ -503,7 +504,7 @@ GdkVisual * gdk_window_get_visual (GdkWindow *window); GdkScreen * gdk_window_get_screen (GdkWindow *window); GdkDisplay * gdk_window_get_display (GdkWindow *window); #ifndef GDK_MULTIDEVICE_SAFE -GDK_DEPRECATED_FOR(gdk_device_get_window_at_position) +GDK_DEPRECATED_IN_3_0_FOR(gdk_device_get_window_at_position) GdkWindow* gdk_window_at_pointer (gint *win_x, gint *win_y); #endif /* GDK_MULTIDEVICE_SAFE */ @@ -657,7 +658,7 @@ void gdk_window_set_startup_id (GdkWindow *window, const gchar *startup_id); void gdk_window_set_transient_for (GdkWindow *window, GdkWindow *parent); -GDK_DEPRECATED_FOR(gdk_window_set_background_rgba) +GDK_DEPRECATED_IN_3_4_FOR(gdk_window_set_background_rgba) void gdk_window_set_background (GdkWindow *window, const GdkColor *color); void gdk_window_set_background_rgba (GdkWindow *window, @@ -712,7 +713,7 @@ void gdk_window_get_frame_extents (GdkWindow *window, GdkRectangle *rect); #ifndef GDK_MULTIDEVICE_SAFE -GDK_DEPRECATED_FOR(gdk_window_get_device_position) +GDK_DEPRECATED_IN_3_0_FOR(gdk_window_get_device_position) GdkWindow * gdk_window_get_pointer (GdkWindow *window, gint *x, gint *y, @@ -793,6 +794,7 @@ void gdk_window_begin_resize_drag (GdkWindow *window, gint root_x, gint root_y, guint32 timestamp); +GDK_AVAILABLE_IN_3_4 void gdk_window_begin_resize_drag_for_device (GdkWindow *window, GdkWindowEdge edge, GdkDevice *device, @@ -805,6 +807,7 @@ void gdk_window_begin_move_drag (GdkWindow *window, gint root_x, gint root_y, guint32 timestamp); +GDK_AVAILABLE_IN_3_4 void gdk_window_begin_move_drag_for_device (GdkWindow *window, GdkDevice *device, gint button, |