From: Carlos Garcia Campos Date: Mon, 8 Jan 2007 11:03:04 +0000 (+0000) Subject: Do not include ev-poppler.h when pdf is disabled. X-Git-Tag: EVINCE_0_7_1~14 X-Git-Url: https://www.fi.muni.cz/~kas/git//home/kas/public_html/git/?a=commitdiff_plain;h=afb550ab779e00918d8fe24742abee3a81ebfe93;p=evince.git Do not include ev-poppler.h when pdf is disabled. 2007-01-08 Carlos Garcia Campos * backend/ev-document-factory.c: Do not include ev-poppler.h when pdf is disabled. svn path=/trunk/; revision=2196 --- diff --git a/ChangeLog b/ChangeLog index a4d8056b..a9606795 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,9 @@ +2007-01-08 Carlos Garcia Campos + + * backend/ev-document-factory.c: + + Do not include ev-poppler.h when pdf is disabled. + 2007-01-07 Carlos Garcia Campos * configure.ac: diff --git a/backend/ev-document-factory.c b/backend/ev-document-factory.c index 78be656c..348cb80b 100644 --- a/backend/ev-document-factory.c +++ b/backend/ev-document-factory.c @@ -25,8 +25,9 @@ #include "ev-document-factory.h" /* The various document type backends: */ +#ifdef ENABLE_PDF #include "ev-poppler.h" - +#endif #ifdef ENABLE_PS #include "ps-document.h" #endif