[mutter/wip/carlosg/input-thread: 102/159] backends: Drop unused function




commit 067c917752c2d3e25a31ea15a2160e4272331d23
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 2f82856782..c4f387f6ed 100644
--- a/src/backends/meta-cursor-tracker.c
+++ b/src/backends/meta-cursor-tracker.c
@@ -542,16 +542,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]