summaryrefslogtreecommitdiff
path: root/gtk/gtkaccelgroup.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/gtkaccelgroup.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/gtkaccelgroup.h')
-rw-r--r--gtk/gtkaccelgroup.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/gtk/gtkaccelgroup.h b/gtk/gtkaccelgroup.h
index 0996bc62c7..be89b24097 100644
--- a/gtk/gtkaccelgroup.h
+++ b/gtk/gtkaccelgroup.h
@@ -163,18 +163,21 @@ gboolean gtk_accelerator_valid (guint keyval,
void gtk_accelerator_parse (const gchar *accelerator,
guint *accelerator_key,
GdkModifierType *accelerator_mods);
+GDK_AVAILABLE_IN_3_4
void gtk_accelerator_parse_with_keycode (const gchar *accelerator,
guint *accelerator_key,
guint **accelerator_codes,
GdkModifierType *accelerator_mods);
gchar* gtk_accelerator_name (guint accelerator_key,
GdkModifierType accelerator_mods);
+GDK_AVAILABLE_IN_3_4
gchar* gtk_accelerator_name_with_keycode (GdkDisplay *display,
guint accelerator_key,
guint keycode,
GdkModifierType accelerator_mods);
gchar* gtk_accelerator_get_label (guint accelerator_key,
GdkModifierType accelerator_mods);
+GDK_AVAILABLE_IN_3_4
gchar* gtk_accelerator_get_label_with_keycode (GdkDisplay *display,
guint accelerator_key,
guint keycode,