summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatthias Clasen <mclasen@redhat.com>2022-02-07 19:25:54 -0500
committerMatthias Clasen <mclasen@redhat.com>2022-02-07 19:25:54 -0500
commitb7d7a7492a7570c7c8152f15d33b2af58a7c6ed6 (patch)
tree1521e30df1b6b4fc84261bccc35dfd93b2fb9e74
parent38ad56e6a1459f0c8071d8ec0cf166df7dc86451 (diff)
downloadgtk+-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.h5
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);