summaryrefslogtreecommitdiff
path: root/gtk/gtkmain.h
diff options
context:
space:
mode:
authorMatthias Clasen <mclasen@redhat.com>2012-02-27 07:10:59 -0500
committerMatthias Clasen <mclasen@redhat.com>2012-02-27 07:11:43 -0500
commit2c25bd85b8690eb0ca6b023122dc130d57c0ca8d (patch)
treea0a1e65a7230ddfd9a2345a1e8c5b8928a7b090f /gtk/gtkmain.h
parent98f3468172004901df6e8bf507e4ec1b0fdac42d (diff)
downloadgtk+-2c25bd85b8690eb0ca6b023122dc130d57c0ca8d.tar.gz
gtk: Use versioned deprecations
This patch changes all uses of GDK_DEPRECATED(_FOR) in gtk 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 'gtk/gtkmain.h')
-rw-r--r--gtk/gtkmain.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/gtk/gtkmain.h b/gtk/gtkmain.h
index 900b619df7..d19e58e6c8 100644
--- a/gtk/gtkmain.h
+++ b/gtk/gtkmain.h
@@ -152,10 +152,10 @@ void gtk_device_grab_add (GtkWidget *widget,
void gtk_device_grab_remove (GtkWidget *widget,
GdkDevice *device);
-GDK_DEPRECATED
+GDK_DEPRECATED_IN_3_4
guint gtk_key_snooper_install (GtkKeySnoopFunc snooper,
gpointer func_data);
-GDK_DEPRECATED
+GDK_DEPRECATED_IN_3_4
void gtk_key_snooper_remove (guint snooper_handler_id);
GdkEvent * gtk_get_current_event (void);