Skip to content
Permalink
Browse files

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
  • Loading branch information...
Felix Riemann authored and raveit65 committed Dec 17, 2013
1 parent a95925a commit 5f6f184f514349e682de4a4150a095a219fe89f4
Showing with 5 additions and 5 deletions.
  1. +5 −4 src/eom-image-private.h
  2. +0 −1 src/eom-image.c
@@ -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;
@@ -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;

0 comments on commit 5f6f184

Please sign in to comment.
You can’t perform that action at this time.