From 1ae3aefb3948c59e79989a28797678dd985cd36a Mon Sep 17 00:00:00 2001 From: Carlos Garcia Campos Date: Fri, 08 Feb 2008 12:48:04 +0000 Subject: Remove libgnomeprint support. Fixes bug #512370. 2008-02-08 Carlos Garcia Campos * configure.ac: * shell/Makefile.am: * shell/ev-application.[ch]: * shell/ev-sidebar-links.c: * shell/ev-utils.[ch]: * shell/ev-window.[ch]: Remove libgnomeprint support. Fixes bug #512370. svn path=/trunk/; revision=2895 --- (limited to 'shell/ev-application.c') diff --git a/shell/ev-application.c b/shell/ev-application.c index 6a4b240..d4a1d1f 100644 --- a/shell/ev-application.c +++ b/shell/ev-application.c @@ -59,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 { @@ -638,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) { @@ -665,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); @@ -788,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) { @@ -835,4 +830,4 @@ ev_application_set_print_settings (EvApplication *application, application->print_settings = g_object_ref (settings); } -#endif /* WITH_GTK_PRINT */ + -- cgit v0.9.1