Acked-by: Jonathon Jongsma <[email protected]>

On Fri, 2016-12-02 at 19:40 +0000, Frediano Ziglio wrote:
> Make sure we don't tamper with RedChannelClient internals.
> 
> Signed-off-by: Frediano Ziglio <[email protected]>
> ---
>  server/dcc.c | 3 +--
>  1 file changed, 1 insertion(+), 2 deletions(-)
> 
> diff --git a/server/dcc.c b/server/dcc.c
> index cf5f44c..afe37b1 100644
> --- a/server/dcc.c
> +++ b/server/dcc.c
> @@ -22,7 +22,6 @@
>  #include "dcc-private.h"
>  #include "display-channel.h"
>  #include "display-channel-private.h"
> -#include "red-channel-client-private.h"
>  #include "red-client.h"
>  #include "main-channel-client.h"
>  #include "spice-server-enums.h"
> @@ -222,7 +221,7 @@ int
> dcc_clear_surface_drawables_from_pipe(DisplayChannelClient *dcc, int
> surface
>         no other drawable depends on them */
>  
>      rcc = RED_CHANNEL_CLIENT(dcc);
> -    for (l = rcc->priv->pipe.head; l != NULL; ) {
> +    for (l = red_channel_client_get_pipe(rcc)->head; l != NULL; ) {
>          Drawable *drawable;
>          RedDrawablePipeItem *dpi = NULL;
>          int depend_found = FALSE;
_______________________________________________
Spice-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/spice-devel

Reply via email to