[mutter/wip/carlosg/input-thread: 94/133] backends: Drop unused function
- From: Carlos Garnacho <carlosg src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [mutter/wip/carlosg/input-thread: 94/133] backends: Drop unused function
- Date: Thu, 13 Aug 2020 19:31:09 +0000 (UTC)
commit c7758046eb0ff2fa6c6574d1067457e612b18242
Author: Carlos Garnacho <carlosg gnome org>
Date: Wed Jul 15 19:35:12 2020 +0200
backends: Drop unused function
https://gitlab.gnome.org/GNOME/mutter/-/merge_requests/1403
src/backends/meta-input-settings-private.h | 3 ---
src/backends/meta-input-settings.c | 19 -------------------
2 files changed, 22 deletions(-)
---
diff --git a/src/backends/meta-input-settings-private.h b/src/backends/meta-input-settings-private.h
index 0b8ac29ce2..675a3837b6 100644
--- a/src/backends/meta-input-settings-private.h
+++ b/src/backends/meta-input-settings-private.h
@@ -142,9 +142,6 @@ GSettings * meta_input_settings_get_tablet_settings (MetaInputSettings
MetaLogicalMonitor * meta_input_settings_get_tablet_logical_monitor (MetaInputSettings *settings,
ClutterInputDevice *device);
-GDesktopTabletMapping meta_input_settings_get_tablet_mapping (MetaInputSettings *settings,
- ClutterInputDevice *device);
-
gboolean meta_input_settings_is_pad_button_grabbed (MetaInputSettings *input_settings,
ClutterInputDevice *pad,
guint button);
diff --git a/src/backends/meta-input-settings.c b/src/backends/meta-input-settings.c
index fd6e32d0b4..0c66e6f64a 100644
--- a/src/backends/meta-input-settings.c
+++ b/src/backends/meta-input-settings.c
@@ -2191,25 +2191,6 @@ meta_input_settings_get_tablet_logical_monitor (MetaInputSettings *settings,
return logical_monitor;
}
-GDesktopTabletMapping
-meta_input_settings_get_tablet_mapping (MetaInputSettings *settings,
- ClutterInputDevice *device)
-{
- MetaInputSettingsPrivate *priv;
- DeviceMappingInfo *info;
-
- g_return_val_if_fail (META_IS_INPUT_SETTINGS (settings),
- G_DESKTOP_TABLET_MAPPING_ABSOLUTE);
- g_return_val_if_fail (CLUTTER_IS_INPUT_DEVICE (device),
- G_DESKTOP_TABLET_MAPPING_ABSOLUTE);
-
- priv = meta_input_settings_get_instance_private (settings);
- info = g_hash_table_lookup (priv->mappable_devices, device);
- g_return_val_if_fail (info != NULL, G_DESKTOP_TABLET_MAPPING_ABSOLUTE);
-
- return g_settings_get_enum (info->settings, "mapping");
-}
-
static GDesktopPadButtonAction
meta_input_settings_get_pad_button_action (MetaInputSettings *input_settings,
ClutterInputDevice *pad,
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]