On 05/12/2018 05:40 PM, Felipe Sateler wrote: > > > On Fri, May 11, 2018 at 9:23 AM NicoHood <pulseaudio-discuss at nicohood.de > <mailto:pulseaudio-discuss at nicohood.de>> wrote: > > On 04/17/2018 08:25 AM, Tanu Kaskinen wrote: > > From: Felipe Sateler <fsateler at debian.org > <mailto:fsateler at debian.org>> > > > > Switch from libglade to GtkBuilder, as that is the new preferred > interface. > > --- > > configure.ac <http://configure.ac>   |  2 +- > > src/paprefs.cc  | 10 +-- > > src/paprefs.glade | 224 > ++++++++++++++++++++++++++---------------------------- > > 3 files changed, 110 insertions(+), 126 deletions(-) > > > > [..] > > I pulled the current master (534d20a1d738f21365b56a08f6553d1be8ca8914) > which should now have gtk3 support. I tried to open it in glade, but I > get lots of warnings that some widgets are not supported by the gtk > version or are dperecated at all. I could fix some warnings by > specifying the latest gtk version, but still the fixes seem incomplete > to me. > > I originally wanted to port my loopback module patch, but it seems I > can't do that with the current glade file. I am not that experienced in > gtk development, so I hope someone can help me. I am using ArchLinux > with the latest gtk3.22.30-1. > > > It seems glade is a bit more strict than the actual gtkbuilder, because > the only change required to stop the complaints is this: > > diff --git a/src/paprefs.glade b/src/paprefs.glade > index 401e9c1..39bc828 100644 > --- a/src/paprefs.glade > +++ b/src/paprefs.glade > @@ -1,7 +1,6 @@ >  <?xml version="1.0"?> >  <interface> > - <!-- interface-requires gtk+ 2.16 --> > - <!-- interface-naming-policy toplevel-contextual --> > + <requires lib="gtk+" version="3.0"/> >   <object class="GtkWindow" id="mainWindow"> >    <property name="can_focus">False</property> >    <property name="title" translatable="yes">PulseAudio > Preferences</property> > > -- > > Saludos, > Felipe Sateler > > > _______________________________________________ > pulseaudio-discuss mailing list > pulseaudio-discuss at lists.freedesktop.org > https://lists.freedesktop.org/mailman/listinfo/pulseaudio-discuss > Also when I try to run paprefs I get the error: (paprefs:22795): GLib-GIO-ERROR **: 10:36:40.931: Settings schema 'org.freedesktop.pulseaudio.module-group' is not installed I guess that happens because ArchLinux did not upgraded the whole puleaudio packages, so it is missing something. I dont want to break my system for now. However I made all the changes, as I did for the gtk2 version. It is straight forward and I'd be happy if someone can give it a short test and possibly include it in the next paprefs release :) Nico