[mutter/wip/carlosg/there-can-be-only-one: 8/10] backends: Make meta_backend_update_last_device() private




commit 498fecf49eff26f8126aa25bb61158513a92e9eb
Author: Carlos Garnacho <carlosg gnome org>
Date:   Thu Jan 13 14:08:07 2022 +0100

    backends: Make meta_backend_update_last_device() private
    
    This is now handled entirely in the backend, no need to export this
    function.

 src/backends/meta-backend-private.h | 3 ---
 src/backends/meta-backend.c         | 2 +-
 2 files changed, 1 insertion(+), 4 deletions(-)
---
diff --git a/src/backends/meta-backend-private.h b/src/backends/meta-backend-private.h
index 546c612e23..e4c8281b23 100644
--- a/src/backends/meta-backend-private.h
+++ b/src/backends/meta-backend-private.h
@@ -160,9 +160,6 @@ xkb_layout_index_t meta_backend_get_keymap_layout_group (MetaBackend *backend);
 
 gboolean meta_backend_is_lid_closed (MetaBackend *backend);
 
-void meta_backend_update_last_device (MetaBackend        *backend,
-                                      ClutterInputDevice *device);
-
 MetaPointerConstraint * meta_backend_get_client_pointer_constraint (MetaBackend *backend);
 void meta_backend_set_client_pointer_constraint (MetaBackend *backend,
                                                  MetaPointerConstraint *constraint);
diff --git a/src/backends/meta-backend.c b/src/backends/meta-backend.c
index f09d5395d3..5b5a0a2ebb 100644
--- a/src/backends/meta-backend.c
+++ b/src/backends/meta-backend.c
@@ -402,7 +402,7 @@ update_last_device (MetaBackend *backend)
   return G_SOURCE_REMOVE;
 }
 
-void
+static void
 meta_backend_update_last_device (MetaBackend        *backend,
                                  ClutterInputDevice *device)
 {


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