From: Kristian Høgsberg Date: Tue, 25 Jun 2013 19:34:59 +0000 (-0400) Subject: compositor: Remove a few legacy uses of wl_object X-Git-Tag: 1.1.91~52 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=4c6ddf102c39544f8d5da60566bf9117911484a8;p=platform%2Fupstream%2Fweston.git compositor: Remove a few legacy uses of wl_object --- 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,