Comment 7 for bug 154096

Revision history for this message
Noam Yorav-Raphael (noamraph) wrote :

Thanks to Sebastien's instructions on how to get the source and play with it, I managed to fix the bug.
It required only 25 additional characters in the source!

It turns out that the code to load and save the print settings to a file is surrounded by "#if" directives, which check for a large enough version of GTK (in version 2.11.0, a feature to save and load the print settings was added to GTK). I changed "#if GTK_CHECK_VERSION (2, 11, 0)" into "#if 0 && GTK_CHECK_VERSION (2, 11, 0)" in five places, and it works perfectly now.

I guess that at the end the code should be removed altogether, but currently it works very nicely.

I attached the diff.

Have a good day,
Noam