<div dir="ltr">Regardless there is another iteration of  --debug handling, I am pushing this fix as trivial.<br></div><div class="gmail_extra"><br><br><div class="gmail_quote">On Thu, Jun 12, 2014 at 8:21 AM, Christophe Fergeau <span dir="ltr"><<a href="mailto:cfergeau@redhat.com" target="_blank">cfergeau@redhat.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div class="">On Wed, Jun 11, 2014 at 11:54:31AM -0400, Marc-André Lureau wrote:<br>
><br>
><br>
> ----- Original Message -----<br>
> > On Wed, Jun 11, 2014 at 05:21:59PM +0200, Marc-André Lureau wrote:<br>
> > > glib_check_version() returns NULL if version is higher or equal.<br>
> > > ---<br>
> > >  src/virt-viewer-util.c | 2 +-<br>
> > >  1 file changed, 1 insertion(+), 1 deletion(-)<br>
> > ><br>
> > > diff --git a/src/virt-viewer-util.c b/src/virt-viewer-util.c<br>
> > > index c81c09a..6fdaa07 100644<br>
> > > --- a/src/virt-viewer-util.c<br>
> > > +++ b/src/virt-viewer-util.c<br>
> > > @@ -283,7 +283,7 @@ static void log_handler(const gchar *log_domain,<br>
> > >                          const gchar *message,<br>
> > >                          gpointer unused_data)<br>
> > >  {<br>
> > > -    if (!glib_check_version(2, 32, 0))<br>
> > > +    if (glib_check_version(2, 32, 0) != NULL)<br>
> > >          if (log_level >= G_LOG_LEVEL_DEBUG && !doDebug)<br>
> > >              return;<br>
> ><br>
> ><br>
> > Or maybe this?<br>
><br>
> Well, it's not like we are using a different API, so I prefer the dynamic version.<br>
<br>
</div>Sorry, I did not understand what you mean in the first part of your<br>
sentence :(<br>
<span class="HOEnZb"><font color="#888888"><br>
Christophe<br>
</font></span><br>_______________________________________________<br>
virt-tools-list mailing list<br>
<a href="mailto:virt-tools-list@redhat.com">virt-tools-list@redhat.com</a><br>
<a href="https://www.redhat.com/mailman/listinfo/virt-tools-list" target="_blank">https://www.redhat.com/mailman/listinfo/virt-tools-list</a><br></blockquote></div><br><br clear="all"><br>-- <br>Marc-André Lureau
</div>