[Spice-devel] [PATCH spice-gtk v3 2/3] Cmdline: Get the preferred-compression property
Javier Celaya
javier.celaya at flexvdi.com
Tue Jun 2 08:54:18 PDT 2015
El Martes, 2 de junio de 2015 14:25:23 usted escribió:
> For what it's worth, once your enum is registered as a GEnum, you can do
> something like gvir_config_genum_get_value
> https://libvirt.org/git/?p=libvirt-glib.git;a=blob;f=libvirt-gconfig/libvirt
> -gconfig-
helpers.c;h=0314a72fd5dfcf8e47df34e7243610071f91b0ee;hb=HEAD#l264
> in order to go from string representation to integer. As this is only
> needed once here, maybe not worth it.
>
> Christophe
I supposed so, but I also want to filter out some enum names, like "invalid" and "lz4"
where not supported, so it seemed more clear in this way.--
[1] [2]
*Javier Celaya *
/Software Engineer /
[3] j[4]_avier.celaya at flexvdi.com_
[5] +34 976 512 433
[6] @j_celaya
--------
[1] http://www.flexvdi.com/img/general/logo.flexvdi.png
[2] http://flexvdi.com
[3] http://flexvdi.com/signature/mail.png
[4] mailto:javier.celaya at flexvdi.com
[5] http://flexvdi.com/signature/phone.png
[6] http://flexvdi.com/signature/skype.png
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/spice-devel/attachments/20150602/aaa59e38/attachment.html>
More information about the Spice-devel
mailing list