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:
parent
76c5eb0060
commit
75a7870259
@ -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)
|
||||
|
@ -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);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user