[virt-tools-list] [PATCHv2 virt-viewer 02/10] kiosk: add app kiosk option, pass it down to window
Christophe Fergeau
cfergeau at redhat.com
Mon Aug 19 17:06:13 UTC 2013
On Fri, Aug 16, 2013 at 09:47:38PM +0200, Marc-André Lureau wrote:
> +void
> +virt_viewer_window_set_kiosk(VirtViewerWindow *self, gboolean enabled)
> +{
> + if (self->priv->kiosk == enabled)
> + return;
> +
Nit: I'd use !!enabled here..
> + self->priv->kiosk = enabled;
and here to be 100% sure we only get 0 and 1 instead of 0 and !0.
Christophe
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 198 bytes
Desc: not available
URL: <http://listman.redhat.com/archives/virt-tools-list/attachments/20130819/636e552c/attachment.sig>
More information about the virt-tools-list
mailing list