X-Git-Url: https://www.fi.muni.cz/~kas/git//home/kas/public_html/git/?a=blobdiff_plain;ds=sidebyside;f=libdocument%2Fev-image.h;h=412a85382a48579947f8840f46b3839502755918;hb=f9c2880d31bb2f5d4411849b9207c5d26a5c616a;hp=8b5b595edadc6feb239e8cfd15c1568030e1cbe3;hpb=8e126907002877574ec86fcbd184e56dc8f74683;p=evince.git diff --git a/libdocument/ev-image.h b/libdocument/ev-image.h index 8b5b595e..412a8538 100644 --- a/libdocument/ev-image.h +++ b/libdocument/ev-image.h @@ -17,11 +17,15 @@ * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307, USA. */ +#if !defined (__EV_EVINCE_DOCUMENT_H_INSIDE__) && !defined (EVINCE_COMPILATION) +#error "Only can be included directly." +#endif + #ifndef __EV_IMAGE_H__ #define __EV_IMAGE_H__ #include -#include +#include G_BEGIN_DECLS @@ -59,21 +63,6 @@ const gchar *ev_image_save_tmp (EvImage *image, const gchar *ev_image_get_tmp_uri (EvImage *image); -/* Image Mapping stuff */ -typedef struct _EvImageMapping EvImageMapping; -struct _EvImageMapping { - EvImage *image; - gdouble x1; - gdouble y1; - gdouble x2; - gdouble y2; -}; - -void ev_image_mapping_free (GList *image_mapping); -EvImage *ev_image_mapping_find (GList *image_mapping, - gdouble x, - gdouble y); - G_END_DECLS #endif /* __EV_IMAGE_H__ */