Re: [libvirt-glib 1/5] Don't call g_type_init on newer glib

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Tue, Nov 13, 2012 at 06:53:48PM +0100, Zeeshan Ali (Khattak) wrote:
> On Tue, Nov 13, 2012 at 6:30 PM, Christophe Fergeau <cfergeau@xxxxxxxxxx> wrote:
> > diff --git a/libvirt-gconfig/tests/test-domain-parse.c b/libvirt-gconfig/tests/test-domain-parse.c
> > index 11880de..33fc7be 100644
> > --- a/libvirt-gconfig/tests/test-domain-parse.c
> > +++ b/libvirt-gconfig/tests/test-domain-parse.c
> > @@ -52,8 +52,6 @@ int main(int argc, char **argv)
> >          return 2;
> >      }
> >
> > -    g_type_init();
> > -
> 
> With g_type_init defined for newer glib, we'll want to keep the
> g_type_init() calls, no?

I didn't mention this in the log, but test-domain-parse calls
gvir_config_init which calls g_type_init() so the call to g_type_init() is
redundant. I'll split that in a separate commit with an explanation.

Christophe

Attachment: pgpWSrbZBLcIg.pgp
Description: PGP signature

--
libvir-list mailing list
libvir-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/libvir-list

[Index of Archives]     [Virt Tools]     [Libvirt Users]     [Lib OS Info]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]     [Fedora Tools]