diff --git a/src/screenshooter.c b/src/screenshooter.c index be2e34fd..8143202d 100644 --- a/src/screenshooter.c +++ b/src/screenshooter.c @@ -36,7 +36,6 @@ #include "../wcap/wcap-decode.h" struct screenshooter { - struct wl_object base; struct weston_compositor *ec; struct wl_global *global; struct wl_client *client; @@ -570,9 +569,6 @@ screenshooter_create(struct weston_compositor *ec) if (shooter == NULL) return; - shooter->base.interface = &screenshooter_interface; - shooter->base.implementation = - (void(**)(void)) &screenshooter_implementation; shooter->ec = ec; shooter->client = NULL; diff --git a/src/zoom.c b/src/zoom.c index ec9db988..267ff31a 100644 --- a/src/zoom.c +++ b/src/zoom.c @@ -28,7 +28,6 @@ #include "text-cursor-position-server-protocol.h" struct text_cursor_position { - struct wl_object base; struct weston_compositor *ec; struct wl_global *global; struct wl_listener destroy_listener; @@ -77,9 +76,6 @@ text_cursor_position_notifier_create(struct weston_compositor *ec) if (text_cursor_position == NULL) return; - text_cursor_position->base.interface = &text_cursor_position_interface; - text_cursor_position->base.implementation = - (void(**)(void)) &text_cursor_position_implementation; text_cursor_position->ec = ec; text_cursor_position->global = wl_display_add_global(ec->wl_display,