X-Git-Url: https://www.fi.muni.cz/~kas/git//home/kas/public_html/git/?a=blobdiff_plain;ds=inline;f=shell%2Fev-utils.h;h=5afb5a68c6bd5bace84ab26542e3c07e7ac2568d;hb=b4400b84fbb899a1984c8e145b91a09de3a35516;hp=7f4938174ac7b91006164e7b1cfd3a6ea60cf9cc;hpb=00efc5c16ed191f07f9a8a5d00acc41ddb064b46;p=evince.git diff --git a/shell/ev-utils.h b/shell/ev-utils.h index 7f493817..5afb5a68 100644 --- a/shell/ev-utils.h +++ b/shell/ev-utils.h @@ -23,21 +23,29 @@ #include #include +#ifdef WITH_GNOME_PRINT +#include +#endif 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 +void ev_gui_menu_position_tree_selection (GtkMenu *menu, + gint *x, + gint *y, + gboolean *push_in, + gpointer user_data); -gboolean ev_file_set_contents (const gchar *filename, - const gchar *contents, - gssize length, - GError **error); -#endif /* HAVE_G_FILE_SET_CONTENTS */ +#ifdef WITH_GNOME_PRINT +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); +#endif G_END_DECLS