<div dir="ltr"><div class="gmail_extra"><br><div class="gmail_quote">On Thu, Nov 30, 2017 at 6:24 PM, Frediano Ziglio <span dir="ltr"><<a href="mailto:fziglio@redhat.com" target="_blank">fziglio@redhat.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div class="gmail-HOEnZb"><div class="gmail-h5"><br>
> On Wed, Nov 29, 2017 at 5:03 PM, Christophe Fergeau < <a href="mailto:cfergeau@redhat.com">cfergeau@redhat.com</a> ><br>
> wrote:<br>
> > On Mon, Nov 13, 2017 at 06:50:05PM +0100, Jakub Janků wrote:<br>
> >> This is a preparatory patch for GTK+ vdagent redesign.<br>
> >><br>
> >> Since most of the vdagent code still uses X11 lib,<br>
> >> force GDK to use X11 backend by calling<br>
> >> gdk_set_allowed_backends("x11"<wbr>).<br>
> ><br>
> > What happens if the agent tries to use gtk+, and this call is not<br>
> > present?<br>
> ><br>
> > Christophe<br>
<br>
> I'll fix this in the next version, I was waiting for reviews of the other<br>
> patches (2/3, 3/3).<br>
<br>
> gdk_set_allowed_backends() was added in v3.10. Prior to this version,<br>
> GDK_IS_X11_DISPLAY() should be used after gtk_init() to make sure we are<br>
> using X11.<br>
> Or would anyone be against requiring GTK+ v3.10?<br>
<br>
> Cheers,<br>
> Jakub<br>
<br>
</div></div>According to <a href="https://github.com/FreeRDP/Remmina/wiki/GTK-versions-on-various-distributions" rel="noreferrer" target="_blank">https://github.com/FreeRDP/<wbr>Remmina/wiki/GTK-versions-on-<wbr>various-distributions</a><br>
no RHEL7 then (wheezy and precise are in theory supported even in 2018).<br></blockquote><div><br></div><div>OK then, I will use GDK_IS_X11_DISPLAY() and terminate the program when this check fails.</div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
<br>
Should not we have<br>
<br>
PKG_CHECK_MODULES([GTK], [gtk+-3.0 >= 3.10])<br>
<br>
?<br></blockquote><div><br></div><div>What do you mean by this? </div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
<span class="gmail-HOEnZb"><font color="#888888"><br>
Frediano<br>
</font></span></blockquote></div><br></div><div class="gmail_extra">Jakub</div></div>