[mutter/wip/carlosg/input-thread: 76/133] backends: Drop unused function
- From: Carlos Garnacho <carlosg src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [mutter/wip/carlosg/input-thread: 76/133] backends: Drop unused function
- Date: Thu, 13 Aug 2020 19:31:09 +0000 (UTC)
commit 87c0821a30130af6b9df6cbfc654c1d7de0f312f
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.
https://gitlab.gnome.org/GNOME/mutter/-/merge_requests/1403
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]