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
Attachment:
signature.asc
Description: PGP signature
_______________________________________________ virt-tools-list mailing list virt-tools-list@xxxxxxxxxx https://www.redhat.com/mailman/listinfo/virt-tools-list