Prepare for port to GObject --- server/cursor-channel-client.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/server/cursor-channel-client.c b/server/cursor-channel-client.c index cdb1e51..7f7383d 100644 --- a/server/cursor-channel-client.c +++ b/server/cursor-channel-client.c @@ -56,8 +56,6 @@ struct CursorChannelClientPrivate }; -#define RCC_TO_CCC(rcc) ((CursorChannelClient*)rcc) - #define CLIENT_CURSOR_CACHE #include "cache-item.tmpl.c" #undef CLIENT_CURSOR_CACHE @@ -68,7 +66,7 @@ static int _cursor_count = 0; void cursor_channel_client_reset_cursor_cache(RedChannelClient *rcc) { - red_cursor_cache_reset(RCC_TO_CCC(rcc), CLIENT_CURSOR_CACHE_SIZE); + red_cursor_cache_reset(CURSOR_CHANNEL_CLIENT(rcc), CLIENT_CURSOR_CACHE_SIZE); } void cursor_channel_client_on_disconnect(RedChannelClient *rcc) -- 2.7.4 _______________________________________________ Spice-devel mailing list Spice-devel@xxxxxxxxxxxxxxxxxxxxx https://lists.freedesktop.org/mailman/listinfo/spice-devel