X-Git-Url: https://www.fi.muni.cz/~kas/git//home/kas/public_html/git/?a=blobdiff_plain;f=shell%2Fev-application.c;h=d4a1d1fa89e01cf199f835bc866cd6d67720914b;hb=a003d7ffe3fd328ae430ae613a8da037f766aabb;hp=2be350e4f9d51dc799c08133503d1fe27c1d6d31;hpb=e03ccc6269d7e687b4f5a67a0c07a014f301930b;p=evince.git diff --git a/shell/ev-application.c b/shell/ev-application.c index 2be350e4..d4a1d1fa 100644 --- a/shell/ev-application.c +++ b/shell/ev-application.c @@ -20,6 +20,7 @@ * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307, USA. */ +#include #include "ev-application.h" #include "ev-utils.h" #include "ev-file-helpers.h" @@ -58,12 +59,10 @@ struct _EvApplication { gchar *last_chooser_uri; -#ifdef WITH_GTK_PRINT GtkPrintSettings *print_settings; #if GTK_CHECK_VERSION (2, 11, 0) gchar *print_settings_file; #endif -#endif }; struct _EvApplicationClass { @@ -637,7 +636,6 @@ ev_application_shutdown (EvApplication *application) application->toolbars_file = NULL; } -#ifdef WITH_GTK_PRINT #if GTK_CHECK_VERSION (2, 11, 0) if (application->print_settings_file) { if (application->print_settings) { @@ -664,7 +662,6 @@ ev_application_shutdown (EvApplication *application) application->print_settings = NULL; } #endif /* GTK 2.11.0 */ -#endif /* WITH_GTK_PRINT */ g_free (application->last_chooser_uri); g_object_unref (application); @@ -787,7 +784,6 @@ ev_application_screensaver_disable (EvApplication *application) totem_scrsaver_disable (application->scr_saver); } -#ifdef WITH_GTK_PRINT GtkPrintSettings * ev_application_get_print_settings (EvApplication *application) { @@ -834,4 +830,4 @@ ev_application_set_print_settings (EvApplication *application, application->print_settings = g_object_ref (settings); } -#endif /* WITH_GTK_PRINT */ +