[virt-tools-list] [PATCHv3 virt-viewer 05/10] spice: enable/disable share folder
Marc-André Lureau
mlureau at redhat.com
Thu Mar 5 20:30:32 UTC 2015
----- Original Message -----
> On Thu, Mar 5, 2015 at 8:12 PM, Marc-André Lureau
> <marcandre.lureau at gmail.com> wrote:
> > Connect/disconnect webdav channel to enable or disable sharing folder
> > ---
> > src/virt-viewer-session-spice.c | 27 +++++++++++++++++++++++++++
> > 1 file changed, 27 insertions(+)
> >
> > diff --git a/src/virt-viewer-session-spice.c
> > b/src/virt-viewer-session-spice.c
> > index 4414212..8d60335 100644
> > --- a/src/virt-viewer-session-spice.c
> > +++ b/src/virt-viewer-session-spice.c
> > @@ -961,6 +961,30 @@ name_changed(GObject *gobject G_GNUC_UNUSED,
> > g_free(name);
> > }
> >
> > +static void
> > +update_share_folder(VirtViewerSessionSpice *self)
> > +{
> > + gboolean share;
> > + SpiceSession *session = self->priv->session;
> > +
> > + g_object_get(self, "share-folder", &share, NULL);
> > +
> > + GList *l, *channels = spice_session_get_channels(session);
>
> Hmm. As you took the suggestions about moving the declarations to be
> beginning of the function, please, move this one as well.
> (Yeah, yeah, I know about c99 :-p)
done
More information about the virt-tools-list
mailing list