[mutter/wip/carlosg/input-thread: 55/95] backends: Drop meta_cursor_renderer_get_position()
- From: Carlos Garnacho <carlosg src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [mutter/wip/carlosg/input-thread: 55/95] backends: Drop meta_cursor_renderer_get_position()
- Date: Wed, 23 Sep 2020 16:36:26 +0000 (UTC)
commit 27765c3534fc354d775a9985fe7f8ffe7148910c
Author: Carlos Garnacho <carlosg gnome org>
Date: Mon Jul 13 13:56:56 2020 +0200
backends: Drop meta_cursor_renderer_get_position()
This is now unused.
https://gitlab.gnome.org/GNOME/mutter/-/merge_requests/1403
src/backends/meta-cursor-renderer.c | 12 ------------
src/backends/meta-cursor-renderer.h | 1 -
2 files changed, 13 deletions(-)
---
diff --git a/src/backends/meta-cursor-renderer.c b/src/backends/meta-cursor-renderer.c
index 095cdbe6d2..ba27eb848e 100644
--- a/src/backends/meta-cursor-renderer.c
+++ b/src/backends/meta-cursor-renderer.c
@@ -456,18 +456,6 @@ meta_cursor_renderer_set_position (MetaCursorRenderer *renderer,
meta_cursor_renderer_update_cursor (renderer, priv->displayed_cursor);
}
-graphene_point_t
-meta_cursor_renderer_get_position (MetaCursorRenderer *renderer)
-{
- MetaCursorRendererPrivate *priv =
- meta_cursor_renderer_get_instance_private (renderer);
-
- return (graphene_point_t) {
- .x = priv->current_x,
- .y = priv->current_y
- };
-}
-
MetaCursorSprite *
meta_cursor_renderer_get_cursor (MetaCursorRenderer *renderer)
{
diff --git a/src/backends/meta-cursor-renderer.h b/src/backends/meta-cursor-renderer.h
index 38621027cb..2156d91253 100644
--- a/src/backends/meta-cursor-renderer.h
+++ b/src/backends/meta-cursor-renderer.h
@@ -63,7 +63,6 @@ void meta_cursor_renderer_set_cursor (MetaCursorRenderer *renderer,
void meta_cursor_renderer_set_position (MetaCursorRenderer *renderer,
float x,
float y);
-graphene_point_t meta_cursor_renderer_get_position (MetaCursorRenderer *renderer);
void meta_cursor_renderer_force_update (MetaCursorRenderer *renderer);
MetaCursorSprite * meta_cursor_renderer_get_cursor (MetaCursorRenderer *renderer);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]