[PUSHED][PATCH] Compilation fix - GTK print dialog headers for GTK < 2.14

Caolán McNamara caolanm at redhat.com
Wed Mar 21 06:31:09 PDT 2012


On Tue, 2012-03-20 at 17:58 -0400, David Bolen wrote:
> This fell out when I was working on my last patch for sub-menu icons.
> Initially building with GTK failed on my system due to a missing
> gtkunixprint.h header, which I worked around by just manually
> disabling ENABLE_GTK_PRINT.
> 
> Afterwards I took another peek, and it looks like the problem is that
> gtkunixprint.h was only added in GTK 2.14, so the attached patch fixes
> compilation with older GTKs if they have the older setup.

Pushed now, thanks for that.

The experimental (toggle it on in tools->options) gtk print dialog needs
some love from someone with some printers to sort it out and generally
get it to work fully. It's be really great if someone played around with
it.

C.



More information about the LibreOffice mailing list