diff options
author | Felix Riemann <[email protected]> | 2013-12-17 15:53:10 +0100 |
---|---|---|
committer | raveit65 <[email protected]> | 2018-07-23 23:08:53 +0200 |
commit | 5f6f184f514349e682de4a4150a095a219fe89f4 (patch) | |
tree | f025e3a9e818eb4917681e8f185a6adabb896a45 | |
parent | a95925a5ef1782be60423a3e0b6108591483740f (diff) | |
download | eom-5f6f184f514349e682de4a4150a095a219fe89f4.tar.bz2 eom-5f6f184f514349e682de4a4150a095a219fe89f4.tar.xz |
EomImage: Slight optimization of private data structure
- Remove/Disable unused members
- Close memory hole on 64-bit
origin commit:
https://gitlab.gnome.org/GNOME/eog/commit/08a8460
-rw-r--r-- | src/eom-image-private.h | 9 | ||||
-rw-r--r-- | src/eom-image.c | 1 |
2 files changed, 5 insertions, 5 deletions
diff --git a/src/eom-image-private.h b/src/eom-image-private.h index 0dfce1d..fbe46ae 100644 --- a/src/eom-image-private.h +++ b/src/eom-image-private.h @@ -34,13 +34,12 @@ struct _EomImagePrivate { EomImageStatus status; EomImageStatus prev_status; - gboolean is_monitored; - EomImageMetadataStatus metadata_status; + EomImageMetadataStatus metadata_status; - GdkPixbuf *image; + gboolean is_playing; GdkPixbufAnimation *anim; GdkPixbufAnimationIter *anim_iter; - gboolean is_playing; + GdkPixbuf *image; GdkPixbuf *thumbnail; #ifdef HAVE_RSVG RsvgHandle *svg; @@ -56,9 +55,11 @@ struct _EomImagePrivate { guint exif_chunk_len; guchar *exif_chunk; +#if 0 /* Holds IPTC raw data */ guchar *iptc_chunk; guint iptc_chunk_len; +#endif gboolean modified; gboolean file_is_changed; diff --git a/src/eom-image.c b/src/eom-image.c index 5cd4839..6922923 100644 --- a/src/eom-image.c +++ b/src/eom-image.c @@ -294,7 +294,6 @@ eom_image_init (EomImage *img) g_mutex_init (&img->priv->status_mutex); img->priv->status = EOM_IMAGE_STATUS_UNKNOWN; img->priv->metadata_status = EOM_IMAGE_METADATA_NOT_READ; - img->priv->is_monitored = FALSE; img->priv->undo_stack = NULL; img->priv->trans = NULL; img->priv->trans_autorotate = NULL; |