summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorFelix Riemann <[email protected]>2013-12-17 15:53:10 +0100
committerraveit65 <[email protected]>2018-07-23 23:08:53 +0200
commit5f6f184f514349e682de4a4150a095a219fe89f4 (patch)
treef025e3a9e818eb4917681e8f185a6adabb896a45 /src
parenta95925a5ef1782be60423a3e0b6108591483740f (diff)
downloadeom-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
Diffstat (limited to 'src')
-rw-r--r--src/eom-image-private.h9
-rw-r--r--src/eom-image.c1
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;