From 90a8680bba08da4ae9aa5f0f5382c625eef2f86c Mon Sep 17 00:00:00 2001 From: Nickolay V. Shmyrev Date: Wed, 04 Jan 2006 09:07:54 +0000 Subject: Setting saving behaviour fixes. * shell/ev-metadata-manager.c: * shell/ev-utils.c: (using_pdf_printer), (using_postscript_printer), (load_print_config_from_file), (save_print_config_to_file): * shell/ev-utils.h: * shell/ev-window.c: (update_sizing_buttons), (page_changed_cb), (update_sidebar_visibility), (setup_sidebar_from_metadata), (setup_view_from_metadata), (ev_window_setup_document), (ev_window_load_job_cb), (ev_window_sidebar_position_change_cb), (ev_window_run_fullscreen), (ev_window_stop_fullscreen), (ev_window_run_presentation), (ev_window_stop_presentation), (save_sizing_mode), (ev_window_zoom_changed_cb), (ev_window_continuous_changed_cb), (ev_window_rotation_changed_cb), (ev_window_dual_mode_changed_cb), (ev_window_sidebar_current_page_changed_cb), (ev_window_sidebar_visibility_changed_cb), (ev_window_dispose), (window_state_event_cb), (window_configure_event_cb), (ev_window_init): Setting saving behaviour fixes. --- (limited to 'shell/ev-utils.h') diff --git a/shell/ev-utils.h b/shell/ev-utils.h index 7f49381..fbacb0f 100644 --- a/shell/ev-utils.h +++ b/shell/ev-utils.h @@ -23,21 +23,20 @@ #include #include +#include G_BEGIN_DECLS -GdkPixbuf *ev_pixbuf_add_shadow (GdkPixbuf *src, int size, - int x_offset, int y_offset, double opacity); +GdkPixbuf* ev_pixbuf_add_shadow (GdkPixbuf *src, int size, + int x_offset, int y_offset, double opacity); -void ev_print_region_contents (GdkRegion *region); +void ev_print_region_contents (GdkRegion *region); -#ifndef HAVE_G_FILE_SET_CONTENTS -gboolean ev_file_set_contents (const gchar *filename, - const gchar *contents, - gssize length, - GError **error); -#endif /* HAVE_G_FILE_SET_CONTENTS */ +GnomePrintConfig* load_print_config_from_file (void); +void save_print_config_to_file (GnomePrintConfig *config); +gboolean using_postscript_printer (GnomePrintConfig *config); +gboolean using_pdf_printer (GnomePrintConfig *config); G_END_DECLS -- cgit v0.9.1