X-Git-Url: https://www.fi.muni.cz/~kas/git//home/kas/public_html/git/?a=blobdiff_plain;f=libdocument%2Fev-image.h;h=8943091d767ac287b09a8a4e922f7baa9fe5c0b9;hb=aeadd8e191190c43e94999fef077ebea69e966c9;hp=8b5b595edadc6feb239e8cfd15c1568030e1cbe3;hpb=8e126907002877574ec86fcbd184e56dc8f74683;p=evince.git diff --git a/libdocument/ev-image.h b/libdocument/ev-image.h index 8b5b595e..8943091d 100644 --- a/libdocument/ev-image.h +++ b/libdocument/ev-image.h @@ -14,14 +14,18 @@ * * You should have received a copy of the GNU General Public License * along with this program; if not, write to the Free Software - * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307, USA. + * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, 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__ */