[gdk-pixbuf/deprecated-timeval-stable: 8/8] gif: Suppress last deprecation warning



commit 82217313c65ea651fefca5fe65f411f7b2a29586
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 2befadf84..6302715e9 100644
--- a/gdk-pixbuf/io-gif-animation.c
+++ b/gdk-pixbuf/io-gif-animation.c
@@ -95,6 +95,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)
 {
@@ -107,6 +108,7 @@ gdk_pixbuf_gif_anim_get_static_image (GdkPixbufAnimation *animation)
         else
                 return GDK_PIXBUF (((GdkPixbufFrame*)gif_anim->frames->data)->pixbuf);
 }
+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]