X-Git-Url: https://www.fi.muni.cz/~kas/git//home/kas/public_html/git/?a=blobdiff_plain;f=libdocument%2Fev-document-images.h;h=7c38a30adde8a12695af16b3d0eee36be4d5d9d5;hb=b329a61d561198cd405721372580d05476c2240a;hp=d8699b94bed8751b1c8257bca891d640212d7e31;hpb=8e126907002877574ec86fcbd184e56dc8f74683;p=evince.git diff --git a/libdocument/ev-document-images.h b/libdocument/ev-document-images.h index d8699b94..7c38a30a 100644 --- a/libdocument/ev-document-images.h +++ b/libdocument/ev-document-images.h @@ -15,9 +15,13 @@ * * 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_DOCUMENT_IMAGES_H #define EV_DOCUMENT_IMAGES_H @@ -44,14 +48,14 @@ struct _EvDocumentImagesIface { /* Methods */ GList *(* get_image_mapping) (EvDocumentImages *document_images, - gint page); + EvPage *page); GdkPixbuf *(* get_image) (EvDocumentImages *document_images, EvImage *image); }; GType ev_document_images_get_type (void) G_GNUC_CONST; GList *ev_document_images_get_image_mapping (EvDocumentImages *document_images, - gint page); + EvPage *page); GdkPixbuf *ev_document_images_get_image (EvDocumentImages *document_images, EvImage *image);