On Thu, Sep 27, 2018 at 10:14 AM Frediano Ziglio <fziglio@xxxxxxxxxx> wrote: > > Signed-off-by: Frediano Ziglio <fziglio@xxxxxxxxxx> Unused since commit 85ed26847c, ack > --- > src/spice-session-priv.h | 2 -- > src/spice-session.c | 9 +++++---- > 2 files changed, 5 insertions(+), 6 deletions(-) > > diff --git a/src/spice-session-priv.h b/src/spice-session-priv.h > index d2a557b..0190c1f 100644 > --- a/src/spice-session-priv.h > +++ b/src/spice-session-priv.h > @@ -86,8 +86,6 @@ void spice_session_set_name(SpiceSession *session, const gchar *name); > gboolean spice_session_is_playback_active(SpiceSession *session); > guint32 spice_session_get_playback_latency(SpiceSession *session); > void spice_session_sync_playback_latency(SpiceSession *session); > -const gchar* spice_session_get_shared_dir(SpiceSession *session); > -void spice_session_set_shared_dir(SpiceSession *session, const gchar *dir); > gboolean spice_session_get_audio_enabled(SpiceSession *session); > gboolean spice_session_get_smartcard_enabled(SpiceSession *session); > gboolean spice_session_get_usbredir_enabled(SpiceSession *session); > diff --git a/src/spice-session.c b/src/spice-session.c > index 8030eb6..7ea1c21 100644 > --- a/src/spice-session.c > +++ b/src/spice-session.c > @@ -221,6 +221,9 @@ static const GEnumValue _spice_image_compress_values[] = { > > G_STATIC_ASSERT(G_N_ELEMENTS(_spice_image_compress_values) == SPICE_IMAGE_COMPRESSION_ENUM_END + 1); > > +static const gchar* spice_session_get_shared_dir(SpiceSession *session); > +static void spice_session_set_shared_dir(SpiceSession *session, const gchar *dir); > + > GType > spice_image_compress_get_type (void) > { > @@ -2574,8 +2577,7 @@ guint32 spice_session_get_playback_latency(SpiceSession *session) > } > } > > -G_GNUC_INTERNAL > -const gchar* spice_session_get_shared_dir(SpiceSession *session) > +static const gchar* spice_session_get_shared_dir(SpiceSession *session) > { > g_return_val_if_fail(SPICE_IS_SESSION(session), NULL); > > @@ -2584,8 +2586,7 @@ const gchar* spice_session_get_shared_dir(SpiceSession *session) > return s->shared_dir; > } > > -G_GNUC_INTERNAL > -void spice_session_set_shared_dir(SpiceSession *session, const gchar *dir) > +static void spice_session_set_shared_dir(SpiceSession *session, const gchar *dir) > { > g_return_if_fail(SPICE_IS_SESSION(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