[gdk-pixbuf] gif: Suppress last deprecation warning



commit 2cf347ee118b55ff3f5e2bb8fa98d071a7a58231
Author: Emmanuele Bassi <ebassi gnome org>
Date:   Mon Jul 29 23:13:42 2019 +0100

    gif: Suppress last deprecation warning

 gdk-pixbuf/io-gif-animation.c | 2 ++
 1 file changed, 2 insertions(+)
---
diff --git a/gdk-pixbuf/io-gif-animation.c b/gdk-pixbuf/io-gif-animation.c
index 554ede632..a3155e065 100644
--- a/gdk-pixbuf/io-gif-animation.c
+++ b/gdk-pixbuf/io-gif-animation.c
@@ -98,6 +98,7 @@ gdk_pixbuf_gif_anim_is_static_image  (GdkPixbufAnimation *animation)
                 gif_anim->frames->next == NULL);
 }
 
+G_GNUC_BEGIN_IGNORE_DEPRECATIONS
 static GdkPixbuf*
 gdk_pixbuf_gif_anim_get_static_image (GdkPixbufAnimation *animation)
 {
@@ -113,6 +114,7 @@ gdk_pixbuf_gif_anim_get_static_image (GdkPixbufAnimation *animation)
         iter = gdk_pixbuf_gif_anim_get_iter (animation, &start_time);
         return gdk_pixbuf_gif_anim_iter_get_pixbuf (iter);
 }
+G_GNUC_END_IGNORE_DEPRECATIONS
 
 static void
 gdk_pixbuf_gif_anim_get_size (GdkPixbufAnimation *anim,


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