[virt-tools-list] [PATCH] spice: Replace g_warning with g_debug

Fabiano Fidêncio fidencio at redhat.com
Mon Jan 2 10:52:48 UTC 2017


On Sun, Jan 1, 2017 at 1:23 PM, Snir Sheriber <ssheribe at redhat.com> wrote:
> ---
>  src/virt-viewer-session-spice.c | 4 ++--
>  1 file changed, 2 insertions(+), 2 deletions(-)
>
> diff --git a/src/virt-viewer-session-spice.c b/src/virt-viewer-session-spice.c
> index c24f94d..c3fce48 100644
> --- a/src/virt-viewer-session-spice.c
> +++ b/src/virt-viewer-session-spice.c
> @@ -914,8 +914,8 @@ virt_viewer_session_spice_display_monitors(SpiceChannel *channel,
>
>          if (!disabled && fullscreen_mode && self->priv->did_auto_conf &&
>              !display_is_in_fullscreen_mode(self, VIRT_VIEWER_DISPLAY(display))) {
> -            g_warning("display %d should not be enabled, disabling",
> -                      virt_viewer_display_get_nth(VIRT_VIEWER_DISPLAY(display)) + 1);
> +            g_debug("display %d should not be enabled, disabling",
> +                    virt_viewer_display_get_nth(VIRT_VIEWER_DISPLAY(display)) + 1);
>              spice_main_set_display_enabled(virt_viewer_session_spice_get_main_channel(self),
>                                             virt_viewer_display_get_nth(VIRT_VIEWER_DISPLAY(display)),
>                                             FALSE);
> --
> 2.9.3
>
> _______________________________________________
> virt-tools-list mailing list
> virt-tools-list at redhat.com
> https://www.redhat.com/mailman/listinfo/virt-tools-list

ACKed and pushed with a few changes in the commit message (discussed on #spice).

https://git.fedorahosted.org/cgit/virt-viewer.git/commit/?id=3dba5a14857e28525c967c23b789eb9d2ebb288a




More information about the virt-tools-list mailing list