Remove unused meta_wayland_tablet_pad_group_lookup_resource

Never used AFAICT.

Part-of: <https://gitlab.gnome.org/GNOME/mutter/-/merge_requests/3154>
This commit is contained in:
Michel Dänzer 2023-08-06 12:01:46 +02:00 committed by Marge Bot
parent 76c5eb0060
commit 75a7870259
2 changed files with 0 additions and 18 deletions

View File

@ -99,20 +99,6 @@ meta_wayland_tablet_pad_group_create_new_resource (MetaWaylandTabletPadGroup *gr
return resource;
}
struct wl_resource *
meta_wayland_tablet_pad_group_lookup_resource (MetaWaylandTabletPadGroup *group,
struct wl_client *client)
{
struct wl_resource *resource;
resource = wl_resource_find_for_client (&group->resource_list, client);
if (!resource)
resource = wl_resource_find_for_client (&group->focus_resource_list, client);
return resource;
}
gboolean
meta_wayland_tablet_pad_group_has_button (MetaWaylandTabletPadGroup *group,
guint button)

View File

@ -50,10 +50,6 @@ struct wl_resource *
struct wl_client *client,
struct wl_resource *pad_resource,
uint32_t id);
struct wl_resource *
meta_wayland_tablet_pad_group_lookup_resource (MetaWaylandTabletPadGroup *group,
struct wl_client *client);
void meta_wayland_tablet_pad_group_notify (MetaWaylandTabletPadGroup *group,
struct wl_resource *resource);