summaryrefslogtreecommitdiff
path: root/gdk-pixbuf/gdk-pixdata.c
diff options
context:
space:
mode:
authorMatthias Clasen <mclasen@redhat.com>2015-08-23 11:22:34 -0400
committerMatthias Clasen <mclasen@redhat.com>2015-08-23 11:22:34 -0400
commit3b2779c27f0806ffecdd40cb3b7abd83f125f90c (patch)
treeff0e1115c60855e1614ccde8ab39f57fec78a452 /gdk-pixbuf/gdk-pixdata.c
parentc153b0341fd15c12f1ed8e4058592d80de80158d (diff)
downloadgdk-pixbuf-3b2779c27f0806ffecdd40cb3b7abd83f125f90c.tar.gz
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.
Diffstat (limited to 'gdk-pixbuf/gdk-pixdata.c')
-rw-r--r--gdk-pixbuf/gdk-pixdata.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/gdk-pixbuf/gdk-pixdata.c b/gdk-pixbuf/gdk-pixdata.c
index 8f6c010c3..e187f8d66 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;