diff options
author | Matthias Clasen <mclasen@redhat.com> | 2022-02-07 19:25:54 -0500 |
---|---|---|
committer | Matthias Clasen <mclasen@redhat.com> | 2022-02-07 19:25:54 -0500 |
commit | b7d7a7492a7570c7c8152f15d33b2af58a7c6ed6 (patch) | |
tree | 1521e30df1b6b4fc84261bccc35dfd93b2fb9e74 | |
parent | 38ad56e6a1459f0c8071d8ec0cf166df7dc86451 (diff) | |
download | gtk+-fix-misdeprecation.tar.gz |
gdk: Fix a misdeprecationfix-misdeprecation
Commit fd9e0dd1 ended up putting the deprecation
marker on the wrong function in the header.
Correct that.
Fixes: #4675
-rw-r--r-- | gdk/gdkdevice.h | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/gdk/gdkdevice.h b/gdk/gdkdevice.h index f01e8dd8a7..5536862886 100644 --- a/gdk/gdkdevice.h +++ b/gdk/gdkdevice.h @@ -92,10 +92,9 @@ GDK_AVAILABLE_IN_ALL GdkDisplay * gdk_device_get_display (GdkDevice *device); GDK_AVAILABLE_IN_ALL GdkSeat * gdk_device_get_seat (GdkDevice *device); -GDK_DEPRECATED_IN_4_6_FOR(gdk_device_tool_get_tool_type) -GdkDeviceTool * gdk_device_get_device_tool (GdkDevice *device); - GDK_AVAILABLE_IN_ALL +GdkDeviceTool * gdk_device_get_device_tool (GdkDevice *device); +GDK_DEPRECATED_IN_4_6_FOR(gdk_device_tool_get_tool_type) GdkInputSource gdk_device_get_source (GdkDevice *device); GDK_AVAILABLE_IN_ALL gboolean gdk_device_get_has_cursor (GdkDevice *device); |