]> www.fi.muni.cz Git - evince.git/blobdiff - shell/ev-utils.h
Updated Polish translation by GNOME PL Team.
[evince.git] / shell / ev-utils.h
index 7f4938174ac7b91006164e7b1cfd3a6ea60cf9cc..ed333d200612e3a028ab048eaef39eb80fbe4930 100644 (file)
 
 #include <gdk-pixbuf/gdk-pixbuf.h>
 #include <gtk/gtk.h>
+#ifdef WITH_GNOME_PRINT
+#include <libgnomeprintui/gnome-print-dialog.h>
+#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
+gint                   get_num_monitors (GtkWindow * window);
+
+gdouble                get_screen_dpi (GtkWindow * window);
+
+void                           file_chooser_dialog_add_writable_pixbuf_formats (GtkFileChooser *chooser);
+GdkPixbufFormat*       get_gdk_pixbuf_format_by_extension (gchar *uri);
 
 G_END_DECLS