[gdk-pixbuf] gif: Remove unused variable



commit 78dc7836769dbea648bbb558c7e3f665c89e6399
Author: Robert Ancell <robert ancell canonical com>
Date:   Mon Dec 10 17:06:02 2018 +1300

    gif: Remove unused variable

 gdk-pixbuf/io-gif-animation.h | 3 ---
 gdk-pixbuf/io-gif.c           | 2 --
 2 files changed, 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);
 


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]