diff options
author | infirit <[email protected]> | 2015-09-06 11:43:35 +0200 |
---|---|---|
committer | infirit <[email protected]> | 2015-09-06 11:43:35 +0200 |
commit | 2788b437751963cb933eadbcbc0dd5ff33fa7338 (patch) | |
tree | 237fbff5d18df7894defcca177d21a5eeac1b514 /src/eom-image.c | |
parent | 79f28eb676ac6c7e707fde3fbb47f8b02f8f5aea (diff) | |
download | eom-2788b437751963cb933eadbcbc0dd5ff33fa7338.tar.bz2 eom-2788b437751963cb933eadbcbc0dd5ff33fa7338.tar.xz |
A bunch of annotation fixes from Eog
Diffstat (limited to 'src/eom-image.c')
-rw-r--r-- | src/eom-image.c | 40 |
1 files changed, 40 insertions, 0 deletions
diff --git a/src/eom-image.c b/src/eom-image.c index 523f37f..a3ba6bc 100644 --- a/src/eom-image.c +++ b/src/eom-image.c @@ -1307,6 +1307,14 @@ eom_image_set_thumbnail (EomImage *img, GdkPixbuf *thumbnail) } } +/** + * eom_image_get_pixbuf: + * @img: a #EomImage + * + * Gets the #GdkPixbuf of the image + * + * Returns: (transfer full): a #GdkPixbuf + **/ GdkPixbuf * eom_image_get_pixbuf (EomImage *img) { @@ -1335,6 +1343,14 @@ eom_image_get_profile (EomImage *img) } #endif +/** + * eom_image_get_thumbnail: + * @img: a #EomImage + * + * Gets the thumbnail pixbuf for @img + * + * Returns: (transfer full): a #GdkPixbuf with a thumbnail + **/ GdkPixbuf * eom_image_get_thumbnail (EomImage *img) { @@ -2014,6 +2030,15 @@ eom_image_get_exif_info (EomImage *img) } #endif +/** + * eom_image_get_xmp_info: + * @img: a #EomImage + * + * Gets the XMP info for @img or NULL if compiled without + * libexempi support. + * + * Returns: (transfer full): the xmp data + **/ gpointer eom_image_get_xmp_info (EomImage *img) { @@ -2034,6 +2059,14 @@ eom_image_get_xmp_info (EomImage *img) } +/** + * eom_image_get_file: + * @img: a #EomImage + * + * Gets the #GFile associated with @img + * + * Returns: (transfer full): a #GFile + **/ GFile * eom_image_get_file (EomImage *img) { @@ -2155,6 +2188,13 @@ compare_quarks (gconstpointer a, gconstpointer b) return quark - GPOINTER_TO_INT (b); } +/** + * eom_image_get_supported_mime_types: + * + * Gets the list of supported mimetypes + * + * Returns: (transfer none)(element-type utf8): a #GList of supported mimetypes + **/ GList * eom_image_get_supported_mime_types (void) { |