X-Git-Url: https://www.fi.muni.cz/~kas/git//home/kas/public_html/git/?a=blobdiff_plain;f=shell%2Fev-utils.h;h=f7c58a728c97ceb005513cfdb07bd63225919109;hb=4cec7958f9bfd4f2950bdf0b257757348b26dafc;hp=084a2851b3cac38971067edae8ebd559ed7c72cf;hpb=ca0836cb912f3b88834cae97774079314727c6e2;p=evince.git diff --git a/shell/ev-utils.h b/shell/ev-utils.h index 084a2851..f7c58a72 100644 --- a/shell/ev-utils.h +++ b/shell/ev-utils.h @@ -22,11 +22,27 @@ #define __EV_UTILS_H__ #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_gui_menu_position_tree_selection (GtkMenu *menu, + gint *x, + gint *y, + gboolean *push_in, + gpointer user_data); + +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