[virt-tools-list] [virt-viewer 2/7] ovirt: Add OvirtForeignMenu class

Christophe Fergeau cfergeau at redhat.com
Fri Apr 18 07:31:03 UTC 2014



----- Mail original -----
> > I'm not particularly fond of g_clear_object()/g_clear_pointer() and the not
> > really needed atomic operations that come with them.
> 
> They make the code really more pleasant, and they are used in the rest of vv,
> so it would nice to follow that style.

$ git grep g_clear_object |wc -l
8

There are that many occurrences of if (foo != NULL) g_object_unref(foo); in remote-viewer.c alone.

Christophe




More information about the virt-tools-list mailing list