Date: prev next · Thread: first prev next last
2012 Archives by date, by thread · List index


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.

I almost didn't send this because while it compiles and runs on my GTK
2.12 system without errors, I seem to get some sort of print dialog
even with ENABLE_GTK_PRINT disabled, so am not entirely certain what
it affects.  I also don't have a GTK 2.14+ system to actually compile
on at the moment.  But the patch is pretty easy to inspect visually
and a successful build seems a better option than a compilation
failure, so...

-- David

Attachment: gtk-print.patch
Description: Binary data


Context


Privacy Policy | Impressum (Legal Info) | Copyright information: Unless otherwise specified, all text and images on this website are licensed under the Creative Commons Attribution-Share Alike 3.0 License. This does not include the source code of LibreOffice, which is licensed under the Mozilla Public License (MPLv2). "LibreOffice" and "The Document Foundation" are registered trademarks of their corresponding registered owners or are in actual use as trademarks in one or more countries. Their respective logos and icons are also subject to international copyright laws. Use thereof is explained in our trademark policy.