]> www.fi.muni.cz Git - evince.git/blobdiff - libdocument/ev-document-misc.h
Use EvPage instead of page index to get links
[evince.git] / libdocument / ev-document-misc.h
index 5fdb670f0cf69f1d41859cc34e55daa3095c5e54..8e929836e3343e5f6c9746f6365daf4122c5de6f 100644 (file)
  *  $Id$
  */
 
+#if !defined (__EV_EVINCE_DOCUMENT_H_INSIDE__) && !defined (EVINCE_COMPILATION)
+#error "Only <evince-document.h> can be included directly."
+#endif
+
 #ifndef EV_DOCUMENT_MISC_H
 #define EV_DOCUMENT_MISC_H
 
 #include <cairo.h>
 
 #include <gdk-pixbuf/gdk-pixbuf.h>
-#include <gtk/gtkstyle.h>
+#include <gtk/gtk.h>
 
 G_BEGIN_DECLS
 
@@ -47,6 +51,8 @@ cairo_surface_t *ev_document_misc_surface_rotate_and_scale (cairo_surface_t *sur
                                                            gint             dest_width,
                                                            gint             dest_height,
                                                            gint             dest_rotation);
+void             ev_document_misc_invert_surface (cairo_surface_t *surface);
+void            ev_document_misc_invert_pixbuf  (GdkPixbuf       *pixbuf);
 
 G_END_DECLS