[gdk-pixbuf] Ignore deprecations in gdk-pixdata.c



commit 3b2779c27f0806ffecdd40cb3b7abd83f125f90c
Author: Matthias Clasen <mclasen redhat com>
Date:   Sun Aug 23 11:22:34 2015 -0400

    Ignore deprecations in gdk-pixdata.c
    
    All the function in this source file are deprecated, and they
    are using each other, so lets just ignore deprecations here.

 gdk-pixbuf/gdk-pixdata.c |    5 ++++-
 1 files changed, 4 insertions(+), 1 deletions(-)
---
diff --git a/gdk-pixbuf/gdk-pixdata.c b/gdk-pixbuf/gdk-pixdata.c
index 8f6c010..e187f8d 100644
--- a/gdk-pixbuf/gdk-pixdata.c
+++ b/gdk-pixbuf/gdk-pixdata.c
@@ -20,6 +20,8 @@
 #include "gdk-pixdata.h"
 #include <string.h>
 
+G_GNUC_BEGIN_IGNORE_DEPRECATIONS
+
 /**
  * SECTION:inline
  * @Short_description: Functions for inlined pixbuf handling.
@@ -755,7 +757,8 @@ gdk_pixdata_to_csource (GdkPixdata        *pixdata,
   if (cdata.dump_stream)
     {
       guint pix_length = img_buffer_end - img_buffer;
-      
+
+
       stream = gdk_pixdata_serialize (pixdata, &stream_length);
       img_buffer = stream;
       img_buffer_end = stream + stream_length;


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