<div dir="ltr"><br><br><div class="gmail_quote"><div dir="ltr">On Fri, May 11, 2018 at 9:23 AM NicoHood <<a href="mailto:pulseaudio-discuss@nicohood.de">pulseaudio-discuss@nicohood.de</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">On 04/17/2018 08:25 AM, Tanu Kaskinen wrote:<br>
> From: Felipe Sateler <<a href="mailto:fsateler@debian.org" target="_blank">fsateler@debian.org</a>><br>
> <br>
> Switch from libglade to GtkBuilder, as that is the new preferred interface.<br>
> ---<br>
>  <a href="http://configure.ac" rel="noreferrer" target="_blank">configure.ac</a>      |   2 +-<br>
>  src/paprefs.cc    |  10 +--<br>
>  src/paprefs.glade | 224 ++++++++++++++++++++++++++----------------------------<br>
>  3 files changed, 110 insertions(+), 126 deletions(-)<br>
> <br>
> [..]<br>
<br>
I pulled the current master (534d20a1d738f21365b56a08f6553d1be8ca8914)<br>
which should now have gtk3 support. I tried to open it in glade, but I<br>
get lots of warnings that some widgets are not supported by the gtk<br>
version or are dperecated at all. I could fix some warnings by<br>
specifying the latest gtk version, but still the fixes seem incomplete<br>
to me.<br>
<br>
I originally wanted to port my loopback module patch, but it seems I<br>
can't do that with the current glade file. I am not that experienced in<br>
gtk development, so I hope someone can help me. I am using ArchLinux<br>
with the latest gtk3.22.30-1.<br></blockquote><div><br></div><div>It seems glade is a bit more strict than the actual gtkbuilder, because the only change required to stop the complaints is this:</div><div><br></div><div><div>diff --git a/src/paprefs.glade b/src/paprefs.glade</div><div>index 401e9c1..39bc828 100644</div><div>--- a/src/paprefs.glade</div><div>+++ b/src/paprefs.glade</div><div>@@ -1,7 +1,6 @@</div><div> <?xml version="1.0"?></div><div> <interface></div><div>-  <!-- interface-requires gtk+ 2.16 --></div><div>-  <!-- interface-naming-policy toplevel-contextual --></div><div>+  <requires lib="gtk+" version="3.0"/></div><div>   <object class="GtkWindow" id="mainWindow"></div><div>     <property name="can_focus">False</property></div><div>     <property name="title" translatable="yes">PulseAudio Preferences</property><br clear="all"><div><br></div>-- <br><div dir="ltr" class="gmail_signature" data-smartmail="gmail_signature"><div class="gmail_signature" data-smartmail="gmail_signature"><br>Saludos,<br>Felipe Sateler</div></div></div></div></div></div>