Re: [PATCH spice-gtk 1/2] spice-session: Remove unused spice_session_set_main_channel function

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

 



On Thu, Sep 27, 2018 at 10:12 AM Frediano Ziglio <fziglio@xxxxxxxxxx> wrote:
>
> Signed-off-by: Frediano Ziglio <fziglio@xxxxxxxxxx>

ack

> ---
>  src/spice-session-priv.h |  1 -
>  src/spice-session.c      | 10 ----------
>  2 files changed, 11 deletions(-)
>
> diff --git a/src/spice-session-priv.h b/src/spice-session-priv.h
> index 03005aa..d2a557b 100644
> --- a/src/spice-session-priv.h
> +++ b/src/spice-session-priv.h
> @@ -96,7 +96,6 @@ const guint8* spice_session_get_webdav_magic(SpiceSession *session);
>  PhodavServer *spice_session_get_webdav_server(SpiceSession *session);
>  PhodavServer* channel_webdav_server_new(SpiceSession *session);
>  guint spice_session_get_n_display_channels(SpiceSession *session);
> -void spice_session_set_main_channel(SpiceSession *session, SpiceChannel *channel);
>  gboolean spice_session_set_migration_session(SpiceSession *session, SpiceSession *mig_session);
>  SpiceAudio *spice_audio_get(SpiceSession *session, GMainContext *context);
>  const gchar* spice_audio_data_mode_to_string(gint mode);
> diff --git a/src/spice-session.c b/src/spice-session.c
> index 2b7c675..8030eb6 100644
> --- a/src/spice-session.c
> +++ b/src/spice-session.c
> @@ -2777,16 +2777,6 @@ gboolean spice_session_is_for_migration(SpiceSession *session)
>      return session->priv->for_migration;
>  }
>
> -G_GNUC_INTERNAL
> -void spice_session_set_main_channel(SpiceSession *session, SpiceChannel *channel)
> -{
> -    g_return_if_fail(SPICE_IS_SESSION(session));
> -    g_return_if_fail(SPICE_IS_CHANNEL(channel));
> -    g_return_if_fail(session->priv->cmain == NULL);
> -
> -    session->priv->cmain = channel;
> -}
> -
>  G_GNUC_INTERNAL
>  gboolean spice_session_set_migration_session(SpiceSession *session, SpiceSession *mig_session)
>  {
> --
> 2.17.1
>
> _______________________________________________
> Spice-devel mailing list
> Spice-devel@xxxxxxxxxxxxxxxxxxxxx
> https://lists.freedesktop.org/mailman/listinfo/spice-devel



-- 
Marc-André Lureau
_______________________________________________
Spice-devel mailing list
Spice-devel@xxxxxxxxxxxxxxxxxxxxx
https://lists.freedesktop.org/mailman/listinfo/spice-devel




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