On Di, 2015-05-26 at 16:06 +0200, Max Reitz wrote: > On 26.05.2015 14:56, Gerd Hoffmann wrote: > > On Di, 2015-05-26 at 08:35 +0200, Gerd Hoffmann wrote: > >> Hi, > >> > >>> only). That, or pass -Wno-deprecated-declarations for compiling > >>> ui/gtk.c, but that seems very ugly to me. > >> We can also try some #pragma warn dance, to limit the > >> -Wno-deprecated-declarations to a small code block. > >> > >> We have something simliar already for a bug in the gtk2 headers. > > i.e. like this: > > I don't like it very much, but you're the maintainer, so if you deem it > acceptable, I won't object. :-)
It's not pretty indeed. But turning off deprecated declarations for the whole file (which would be a much less ugly one-liner in the Makefile) isn't a good solution either because gtk actually deprecates things now and then and I'd like us notice. If someone has better ideas I'm all ears. cheers, Gerd