diff --git a/src/wayland/meta-wayland-tablet-pad-group.c b/src/wayland/meta-wayland-tablet-pad-group.c index 31ef939d8..8c031a622 100644 --- a/src/wayland/meta-wayland-tablet-pad-group.c +++ b/src/wayland/meta-wayland-tablet-pad-group.c @@ -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) diff --git a/src/wayland/meta-wayland-tablet-pad-group.h b/src/wayland/meta-wayland-tablet-pad-group.h index 073f9abdb..5d27e10ee 100644 --- a/src/wayland/meta-wayland-tablet-pad-group.h +++ b/src/wayland/meta-wayland-tablet-pad-group.h @@ -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);