[gtk+/gtk-3-22] Add some deprecation annotations
- From: Matthias Clasen <matthiasc src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk+/gtk-3-22] Add some deprecation annotations
- Date: Tue, 26 Dec 2017 04:00:41 +0000 (UTC)
commit 176c1046cb1388f70ea257ac15b7ac537d219545
Author: Matthias Clasen <mclasen redhat com>
Date: Mon Dec 25 22:42:01 2017 -0500
Add some deprecation annotations
These functions have been removed in master, and their
replacements are already available here.
gdk/gdkkeys.h | 2 +-
gdk/gdkmain.h | 12 ++++++------
2 files changed, 7 insertions(+), 7 deletions(-)
---
diff --git a/gdk/gdkkeys.h b/gdk/gdkkeys.h
index 329ce1e..b75d2cd 100644
--- a/gdk/gdkkeys.h
+++ b/gdk/gdkkeys.h
@@ -80,7 +80,7 @@ struct _GdkKeymapKey
GDK_AVAILABLE_IN_ALL
GType gdk_keymap_get_type (void) G_GNUC_CONST;
-GDK_AVAILABLE_IN_ALL
+GDK_DEPRECATED_IN_3_22_FOR(gdk_keymap_get_for_display)
GdkKeymap* gdk_keymap_get_default (void);
GDK_AVAILABLE_IN_ALL
GdkKeymap* gdk_keymap_get_for_display (GdkDisplay *display);
diff --git a/gdk/gdkmain.h b/gdk/gdkmain.h
index a7e8c36..becb4c7 100644
--- a/gdk/gdkmain.h
+++ b/gdk/gdkmain.h
@@ -66,12 +66,12 @@ void gdk_notify_startup_complete_with_id (const gchar* startup_
/* Push and pop error handlers for X errors
*/
-GDK_AVAILABLE_IN_ALL
+GDK_DEPRECATED_IN_3_22_FOR(gdk_x11_display_error_trap_push)
void gdk_error_trap_push (void);
/* warn unused because you could use pop_ignored otherwise */
-GDK_AVAILABLE_IN_ALL
+GDK_DEPRECATED_IN_3_22_FOR(gdk_x11_display_error_trap_pop)
G_GNUC_WARN_UNUSED_RESULT gint gdk_error_trap_pop (void);
-GDK_AVAILABLE_IN_ALL
+GDK_DEPRECATED_IN_3_22_FOR(gdk_x11_display_error_trap_pop_ignored)
void gdk_error_trap_pop_ignored (void);
@@ -114,13 +114,13 @@ gint gdk_screen_width_mm (void) G_GNUC_CONST;
GDK_DEPRECATED_IN_3_22
gint gdk_screen_height_mm (void) G_GNUC_CONST;
-GDK_AVAILABLE_IN_ALL
+GDK_DEPRECATED_IN_3_22_FOR(gdk_display_set_double_click_time)
void gdk_set_double_click_time (guint msec);
-GDK_AVAILABLE_IN_ALL
+GDK_DEPRECATED_IN_3_22_FOR(gdk_display_beep)
void gdk_beep (void);
-GDK_AVAILABLE_IN_ALL
+GDK_DEPRECATED_IN_3_22_FOR(gdk_display_flush)
void gdk_flush (void);
GDK_AVAILABLE_IN_ALL
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]