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.
This commit is contained in:
Matthias Clasen
2012-02-27 07:07:48 -05:00
parent e580c79ae0
commit d36c10bc03
12 changed files with 44 additions and 20 deletions

View File

@ -28,6 +28,7 @@
G_BEGIN_DECLS
GDK_AVAILABLE_IN_3_2
gint gdk_x11_device_get_id (GdkDevice *device);
G_END_DECLS

View File

@ -31,6 +31,7 @@
G_BEGIN_DECLS
GDK_AVAILABLE_IN_3_2
GdkDevice * gdk_x11_device_manager_lookup (GdkDeviceManager *device_manager,
gint device_id);

View File

@ -60,8 +60,10 @@ void gdk_x11_window_set_user_time (GdkWindow *window,
void gdk_x11_window_set_utf8_property (GdkWindow *window,
const gchar *name,
const gchar *value);
GDK_AVAILABLE_IN_3_2
void gdk_x11_window_set_theme_variant (GdkWindow *window,
char *variant);
GDK_AVAILABLE_IN_3_4
void gdk_x11_window_set_hide_titlebar_when_maximized (GdkWindow *window,
gboolean hide_titlebar_when_maximized);
void gdk_x11_window_move_to_current_desktop (GdkWindow *window);