[mutter/wip/carlosg/cleanups: 1/7] backends: Drop unused function




commit 4b31939a93188e39140e70f2c586c1b5730a535a
Author: Carlos Garnacho <carlosg gnome org>
Date:   Thu Jul 9 23:51:49 2020 +0200

    backends: Drop unused function
    
    meta_cursor_tracker_get_displayed_cursor() is used nowhere.

 src/backends/meta-cursor-tracker-private.h |  2 --
 src/backends/meta-cursor-tracker.c         | 10 ----------
 2 files changed, 12 deletions(-)
---
diff --git a/src/backends/meta-cursor-tracker-private.h b/src/backends/meta-cursor-tracker-private.h
index 1b60d95c99..779c2fe521 100644
--- a/src/backends/meta-cursor-tracker-private.h
+++ b/src/backends/meta-cursor-tracker-private.h
@@ -49,8 +49,6 @@ void meta_cursor_tracker_track_position (MetaCursorTracker *tracker);
 
 void meta_cursor_tracker_untrack_position (MetaCursorTracker *tracker);
 
-MetaCursorSprite * meta_cursor_tracker_get_displayed_cursor (MetaCursorTracker *tracker);
-
 MetaBackend * meta_cursor_tracker_get_backend (MetaCursorTracker *tracker);
 
 void meta_cursor_tracker_notify_cursor_changed (MetaCursorTracker *tracker);
diff --git a/src/backends/meta-cursor-tracker.c b/src/backends/meta-cursor-tracker.c
index 9ba0d2123c..ff54779d85 100644
--- a/src/backends/meta-cursor-tracker.c
+++ b/src/backends/meta-cursor-tracker.c
@@ -579,16 +579,6 @@ meta_cursor_tracker_set_pointer_visible (MetaCursorTracker *tracker,
 
   g_signal_emit (tracker, signals[VISIBILITY_CHANGED], 0);
 }
-
-MetaCursorSprite *
-meta_cursor_tracker_get_displayed_cursor (MetaCursorTracker *tracker)
-{
-  MetaCursorTrackerPrivate *priv =
-    meta_cursor_tracker_get_instance_private (tracker);
-
-  return priv->displayed_cursor;
-}
-
 MetaBackend *
 meta_cursor_tracker_get_backend (MetaCursorTracker *tracker)
 {


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