[gtk/fix-misdeprecation] gdk: Fix a misdeprecation




commit b7d7a7492a7570c7c8152f15d33b2af58a7c6ed6
Author: Matthias Clasen <mclasen redhat com>
Date:   Mon Feb 7 19:25:54 2022 -0500

    gdk: Fix a misdeprecation
    
    Commit fd9e0dd1 ended up putting the deprecation
    marker on the wrong function in the header.
    Correct that.
    
    Fixes: #4675

 gdk/gdkdevice.h | 5 ++---
 1 file 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);


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]