[virt-tools-list] [PATCH 7/7] Make GApplication port compatible with older glib

Christophe Fergeau cfergeau at redhat.com
Fri Dec 18 09:29:51 UTC 2015


On Thu, Dec 17, 2015 at 09:19:39PM +0100, Fabiano Fidêncio wrote:
> In one hand having all the code in a way that we can just drop the
> compat functions when SLES starts using GLib 2.40 may be really
> handful. On the other hand, as pointed by Jonathon and Daniel, it's an
> awful lot of code copied into virt-viewer.
> 
> Jonathon, considering we decide to go for using GOptionContext for
> parsing CLI args, would we have to change this code in the future and
> adapt it to use GApplication or could we just use this implementation
> without any drawback as virt-viewer is not supposed to be a "unique"
> application?

You can use GApplication without using its option handling helpers
with no issues, especially when you are not using its "unique" feature.
Even when using the "unique" feature, you can get away without using its
helpers.

Christophe
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: not available
URL: <http://listman.redhat.com/archives/virt-tools-list/attachments/20151218/94396d24/attachment.sig>


More information about the virt-tools-list mailing list