Re: [spice-gtk 2/2] Remove runtime warning when setting a NULL shared-dir

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



ack

----- Original Message -----
> Now that the webdav channel can cope with a NULL shared dir (by not
> creating the webdav server), we no longer need to reject NULL shared
> directories with a warning.
> 
> This fixes part of https://bugzilla.redhat.com/show_bug.cgi?id=1175721
> ---
>  gtk/spice-session.c | 1 -
>  1 file changed, 1 deletion(-)
> 
> diff --git a/gtk/spice-session.c b/gtk/spice-session.c
> index 059cd2f..8de48e5 100644
> --- a/gtk/spice-session.c
> +++ b/gtk/spice-session.c
> @@ -2485,7 +2485,6 @@ G_GNUC_INTERNAL
>  void spice_session_set_shared_dir(SpiceSession *session, const gchar *dir)
>  {
>      g_return_if_fail(SPICE_IS_SESSION(session));
> -    g_return_if_fail(dir != NULL);
>  
>      SpiceSessionPrivate *s = session->priv;
>  
> --
> 2.1.0
> 
> _______________________________________________
> Spice-devel mailing list
> Spice-devel@xxxxxxxxxxxxxxxxxxxxx
> http://lists.freedesktop.org/mailman/listinfo/spice-devel
> 
_______________________________________________
Spice-devel mailing list
Spice-devel@xxxxxxxxxxxxxxxxxxxxx
http://lists.freedesktop.org/mailman/listinfo/spice-devel





[Index of Archives]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Security]     [Bugtraq]     [Linux]     [Linux OMAP]     [Linux MIPS]     [ECOS]     [Asterisk Internet PBX]     [Linux API]     [Monitors]