[gtk+/wip/matthiasc/kill-device-manager: 5/17] Drop gdk_display_get_device_manager API



commit d5ba7655176c082f80cc2d29ad30cdac602650db
Author: Matthias Clasen <mclasen redhat com>
Date:   Thu Nov 23 15:43:52 2017 -0500

    Drop gdk_display_get_device_manager API
    
    GdkDeviceManager is being replaced by GdkSeat.

 docs/reference/gdk/gdk4-sections.txt |    1 -
 gdk/gdkdisplay.c                     |   14 --------------
 gdk/gdkdisplay.h                     |    3 ---
 gdk/gdkdisplayprivate.h              |    3 +++
 4 files changed, 3 insertions(+), 18 deletions(-)
---
diff --git a/docs/reference/gdk/gdk4-sections.txt b/docs/reference/gdk/gdk4-sections.txt
index 1eaae40..a2676fc 100644
--- a/docs/reference/gdk/gdk4-sections.txt
+++ b/docs/reference/gdk/gdk4-sections.txt
@@ -75,7 +75,6 @@ GdkDisplay
 gdk_display_open
 gdk_display_get_default
 gdk_display_get_name
-gdk_display_get_device_manager
 gdk_display_device_is_grabbed
 gdk_display_beep
 gdk_display_sync
diff --git a/gdk/gdkdisplay.c b/gdk/gdkdisplay.c
index 0d51b96..630815d 100644
--- a/gdk/gdkdisplay.c
+++ b/gdk/gdkdisplay.c
@@ -1079,20 +1079,6 @@ gdk_display_device_is_grabbed (GdkDisplay *display,
   return (info && !info->implicit);
 }
 
-/**
- * gdk_display_get_device_manager:
- * @display: a #GdkDisplay.
- *
- * Returns the #GdkDeviceManager associated to @display.
- *
- * Returns: (nullable) (transfer none): A #GdkDeviceManager, or
- *          %NULL. This memory is owned by GDK and must not be freed
- *          or unreferenced.
- *
- * Since: 3.0
- *
- * Deprecated: 3.20. Use gdk_display_get_default_seat() and #GdkSeat operations.
- **/
 GdkDeviceManager *
 gdk_display_get_device_manager (GdkDisplay *display)
 {
diff --git a/gdk/gdkdisplay.h b/gdk/gdkdisplay.h
index cf82ec2..18071b9 100644
--- a/gdk/gdkdisplay.h
+++ b/gdk/gdkdisplay.h
@@ -117,9 +117,6 @@ GDK_AVAILABLE_IN_ALL
 void     gdk_display_notify_startup_complete   (GdkDisplay    *display,
                                                 const gchar   *startup_id);
 
-GDK_DEPRECATED_IN_3_20_FOR(gdk_display_get_default_seat)
-GdkDeviceManager * gdk_display_get_device_manager (GdkDisplay *display);
-
 GDK_AVAILABLE_IN_ALL
 GdkAppLaunchContext *gdk_display_get_app_launch_context (GdkDisplay *display);
 
diff --git a/gdk/gdkdisplayprivate.h b/gdk/gdkdisplayprivate.h
index 9c5dac2..1bcbea6 100644
--- a/gdk/gdkdisplayprivate.h
+++ b/gdk/gdkdisplayprivate.h
@@ -306,6 +306,9 @@ void                gdk_display_emit_opened           (GdkDisplay       *display
 void                gdk_display_setting_changed       (GdkDisplay       *display,
                                                        const char       *name);
 
+GdkDeviceManager *  gdk_display_get_device_manager    (GdkDisplay *display);
+
+
 G_END_DECLS
 
 #endif  /* __GDK_DISPLAY_PRIVATE_H__ */


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