From 4c6ddf102c39544f8d5da60566bf9117911484a8 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Kristian=20H=C3=B8gsberg?= Date: Tue, 25 Jun 2013 15:34:59 -0400 Subject: [PATCH] compositor: Remove a few legacy uses of wl_object --- src/screenshooter.c | 4 ---- src/zoom.c | 4 ---- 2 files changed, 8 deletions(-) diff --git a/src/screenshooter.c b/src/screenshooter.c index be2e34f..8143202 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 ec9db98..267ff31 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, -- 2.7.4