--- server/red_worker.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/server/red_worker.c b/server/red_worker.c index 8631d42..1110764 100644 --- a/server/red_worker.c +++ b/server/red_worker.c @@ -1077,7 +1077,7 @@ void display_channel_drawable_unref(DisplayChannel *display, Drawable *drawable) display->drawable_count--; } -static inline void remove_shadow(RedWorker *worker, DrawItem *item) +static inline void remove_shadow(DrawItem *item) { Shadow *shadow; @@ -1159,7 +1159,7 @@ static inline void current_remove_drawable(RedWorker *worker, Drawable *item) DisplayChannel *display = worker->display_channel; display_stream_trace_add_drawable(display, item); - remove_shadow(worker, &item->tree_item); + remove_shadow(&item->tree_item); ring_remove(&item->tree_item.base.siblings_link); ring_remove(&item->list_link); ring_remove(&item->surface_list_link); -- 2.4.3 _______________________________________________ Spice-devel mailing list Spice-devel@xxxxxxxxxxxxxxxxxxxxx http://lists.freedesktop.org/mailman/listinfo/spice-devel