[Spice-devel] [PATCH spice-server v4 4/4] fixup! Convert RedChannel hierarchy to GObject
Jonathon Jongsma
jjongsma at redhat.com
Tue Oct 18 16:46:08 UTC 2016
Hmm, that's kind of annoying, but OK.
Acked-by: Jonathon Jongsma <jjongsma at redhat.com>
On Tue, 2016-10-18 at 12:13 +0100, Frediano Ziglio wrote:
> g_object_get require the object to be no-const.
> Avoid compiler error if statistics are enabled
>
> Signed-off-by: Frediano Ziglio <fziglio at redhat.com>
> ---
> server/display-channel.c | 2 +-
> server/display-channel.h | 2 +-
> 2 files changed, 2 insertions(+), 2 deletions(-)
>
> diff --git a/server/display-channel.c b/server/display-channel.c
> index 51d297c..b82af61 100644
> --- a/server/display-channel.c
> +++ b/server/display-channel.c
> @@ -104,7 +104,7 @@ void
> display_channel_compress_stats_reset(DisplayChannel *display)
> image_encoder_shared_stat_reset(&display->priv-
> >encoder_shared_data);
> }
>
> -void display_channel_compress_stats_print(const DisplayChannel
> *display_channel)
> +void display_channel_compress_stats_print(DisplayChannel
> *display_channel)
> {
> #ifdef COMPRESS_STAT
> uint32_t id;
> diff --git a/server/display-channel.h b/server/display-channel.h
> index 48b4105..d782969 100644
> --- a/server/display-channel.h
> +++ b/server/display-channel.h
> @@ -231,7 +231,7 @@
> void display_channel_set_video_codecs
> (DisplayCha
>
> GArray *video_codecs);
> int display_channel_get_stream_video
> (DisplayChannel *display);
> int display_channel_get_streams_timeout
> (DisplayChannel *display);
> -void display_channel_compress_stats_print
> (const DisplayChannel *display);
> +void display_channel_compress_stats_print
> (DisplayChannel *display);
> void display_channel_compress_stats_reset
> (DisplayChannel *display);
> void display_channel_surface_unref
> (DisplayChannel *display,
>
> uint32_t surface_id);
More information about the Spice-devel
mailing list