summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRobert Ancell <robert.ancell@canonical.com>2018-12-10 17:06:02 +1300
committerRobert Ancell <robert.ancell@canonical.com>2019-07-29 16:27:21 -0400
commit78dc7836769dbea648bbb558c7e3f665c89e6399 (patch)
treeb9a56143707bdc45b25efc780550e9afbfd8603a
parent255ce3aa2243c993011db60130dc71daa92bd572 (diff)
downloadgdk-pixbuf-78dc7836769dbea648bbb558c7e3f665c89e6399.tar.gz
gif: Remove unused variable
-rw-r--r--gdk-pixbuf/io-gif-animation.h3
-rw-r--r--gdk-pixbuf/io-gif.c2
2 files changed, 0 insertions, 5 deletions
diff --git a/gdk-pixbuf/io-gif-animation.h b/gdk-pixbuf/io-gif-animation.h
index b0ef809f5..8f15fab53 100644
--- a/gdk-pixbuf/io-gif-animation.h
+++ b/gdk-pixbuf/io-gif-animation.h
@@ -148,9 +148,6 @@ struct _GdkPixbufFrame {
*/
gboolean need_recomposite;
- /* TRUE if the background for this frame is transparent */
- gboolean bg_transparent;
-
/* The below reflects the "use hell of a lot of RAM"
* philosophy of coding
*/
diff --git a/gdk-pixbuf/io-gif.c b/gdk-pixbuf/io-gif.c
index 45cabacba..b3f1b4647 100644
--- a/gdk-pixbuf/io-gif.c
+++ b/gdk-pixbuf/io-gif.c
@@ -881,8 +881,6 @@ gif_get_lzw (GifContext *context)
break;
}
- context->frame->bg_transparent = (context->gif89.transparent == context->background_index);
-
context->animation->n_frames ++;
context->animation->frames = g_list_append (context->animation->frames, context->frame);