summaryrefslogtreecommitdiff
path: root/gdk/gdkscreen.h
diff options
context:
space:
mode:
authorMatthias Clasen <mclasen@redhat.com>2012-02-27 07:07:48 -0500
committerMatthias Clasen <mclasen@redhat.com>2012-02-27 07:11:43 -0500
commitd36c10bc03ae113d24d60314d900e68be0fbb7b1 (patch)
treee7fac184cf6363d575a9eab5057c2e612c6bc8c8 /gdk/gdkscreen.h
parente580c79ae05a10fb33313b9ae36d95905cfc7b89 (diff)
downloadgtk+-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/gdkscreen.h')
-rw-r--r--gdk/gdkscreen.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/gdk/gdkscreen.h b/gdk/gdkscreen.h
index eeec65485d..664359a930 100644
--- a/gdk/gdkscreen.h
+++ b/gdk/gdkscreen.h
@@ -29,6 +29,7 @@
#define __GDK_SCREEN_H__
#include <cairo.h>
+#include <gdk/gdkversionmacros.h>
#include <gdk/gdktypes.h>
#include <gdk/gdkdisplay.h>
@@ -62,6 +63,7 @@ gint gdk_screen_get_primary_monitor (GdkScreen *screen);
void gdk_screen_get_monitor_geometry (GdkScreen *screen,
gint monitor_num,
GdkRectangle *dest);
+GDK_AVAILABLE_IN_3_4
void gdk_screen_get_monitor_workarea (GdkScreen *screen,
gint monitor_num,
GdkRectangle *dest);