#define __EV_UTILS_H__
#include <gdk-pixbuf/gdk-pixbuf.h>
+#include <gtk/gtk.h>
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);
-#ifndef HAVE_G_FILE_SET_CONTENTS
+void ev_print_region_contents (GdkRegion *region);
-gboolean ev_file_set_contents (const gchar *filename,
- const gchar *contents,
- gssize length,
- GError **error);
-#endif /* HAVE_G_FILE_SET_CONTENTS */
+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