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:
		| @ -28,6 +28,7 @@ | ||||
|  | ||||
| G_BEGIN_DECLS | ||||
|  | ||||
| GDK_AVAILABLE_IN_3_2 | ||||
| gint  gdk_x11_device_get_id  (GdkDevice *device); | ||||
|  | ||||
| G_END_DECLS | ||||
|  | ||||
| @ -31,6 +31,7 @@ | ||||
|  | ||||
| G_BEGIN_DECLS | ||||
|  | ||||
| GDK_AVAILABLE_IN_3_2 | ||||
| GdkDevice * gdk_x11_device_manager_lookup (GdkDeviceManager *device_manager, | ||||
|                                            gint              device_id); | ||||
|  | ||||
|  | ||||
| @ -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); | ||||
|  | ||||
		Reference in New Issue
	
	Block a user
	 Matthias Clasen
					Matthias Clasen