X-Git-Url: https://www.fi.muni.cz/~kas/git//home/kas/public_html/git/?a=blobdiff_plain;ds=sidebyside;f=libdocument%2Fev-document-images.h;h=d9f6b027ecdaaf4c806a23bf857d73d8bd1fe84d;hb=1d0de30170119eade2a7305ffa8ec6d9a3e4af32;hp=d9d76965822000af97063320e1419b82718d2690;hpb=4912987303aefef0d02a45726b75e5fdae043982;p=evince.git diff --git a/libdocument/ev-document-images.h b/libdocument/ev-document-images.h index d9d76965..d9f6b027 100644 --- a/libdocument/ev-document-images.h +++ b/libdocument/ev-document-images.h @@ -15,7 +15,7 @@ * * 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) @@ -35,27 +35,27 @@ G_BEGIN_DECLS #define EV_TYPE_DOCUMENT_IMAGES (ev_document_images_get_type ()) #define EV_DOCUMENT_IMAGES(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), EV_TYPE_DOCUMENT_IMAGES, EvDocumentImages)) -#define EV_DOCUMENT_IMAGES_IFACE(k) (G_TYPE_CHECK_CLASS_CAST((k), EV_TYPE_DOCUMENT_IMAGES, EvDocumentImagesIface)) +#define EV_DOCUMENT_IMAGES_IFACE(k) (G_TYPE_CHECK_CLASS_CAST((k), EV_TYPE_DOCUMENT_IMAGES, EvDocumentImagesInterface)) #define EV_IS_DOCUMENT_IMAGES(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), EV_TYPE_DOCUMENT_IMAGES)) #define EV_IS_DOCUMENT_IMAGES_IFACE(k) (G_TYPE_CHECK_CLASS_TYPE ((k), EV_TYPE_DOCUMENT_IMAGES)) -#define EV_DOCUMENT_IMAGES_GET_IFACE(inst) (G_TYPE_INSTANCE_GET_INTERFACE ((inst), EV_TYPE_DOCUMENT_IMAGES, EvDocumentImagesIface)) +#define EV_DOCUMENT_IMAGES_GET_IFACE(inst) (G_TYPE_INSTANCE_GET_INTERFACE ((inst), EV_TYPE_DOCUMENT_IMAGES, EvDocumentImagesInterface)) -typedef struct _EvDocumentImages EvDocumentImages; -typedef struct _EvDocumentImagesIface EvDocumentImagesIface; +typedef struct _EvDocumentImages EvDocumentImages; +typedef struct _EvDocumentImagesInterface EvDocumentImagesInterface; -struct _EvDocumentImagesIface { +struct _EvDocumentImagesInterface { GTypeInterface base_iface; /* 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);