summaryrefslogtreecommitdiff
path: root/gtk/gtktextbufferserialize.c
diff options
context:
space:
mode:
authorMatthias Clasen <mclasen@redhat.com>2014-10-27 07:05:22 -0400
committerMatthias Clasen <mclasen@redhat.com>2014-10-27 07:05:22 -0400
commitfc6f22c3ce0e628d955e23c131d0b16b2939b2eb (patch)
tree411ea5219eadd8d3c322b97caa17e627ce773a30 /gtk/gtktextbufferserialize.c
parent96a3b2373669d07fd03f1cce0dbcf38dad1a3a02 (diff)
downloadgtk+-fc6f22c3ce0e628d955e23c131d0b16b2939b2eb.tar.gz
Ignore gdk-pixbuf deprecations
Diffstat (limited to 'gtk/gtktextbufferserialize.c')
-rw-r--r--gtk/gtktextbufferserialize.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/gtk/gtktextbufferserialize.c b/gtk/gtktextbufferserialize.c
index e065f109ef..acb982fd7c 100644
--- a/gtk/gtktextbufferserialize.c
+++ b/gtk/gtktextbufferserialize.c
@@ -590,6 +590,7 @@ serialize_text (GtkTextBuffer *buffer,
g_string_append (context->text_str, "</text>\n</text_view_markup>\n");
}
+G_GNUC_BEGIN_IGNORE_DEPRECATIONS
static void
serialize_pixbufs (SerializationContext *context,
GString *text)
@@ -611,6 +612,7 @@ serialize_pixbufs (SerializationContext *context,
g_free (tmp);
}
}
+G_GNUC_END_IGNORE_DEPRECATIONS
guint8 *
_gtk_text_buffer_serialize_rich_text (GtkTextBuffer *register_buffer,
@@ -1068,6 +1070,7 @@ typedef struct
const gchar *start;
} Header;
+G_GNUC_BEGIN_IGNORE_DEPRECATIONS
static GdkPixbuf *
get_pixbuf_from_headers (GList *headers,
int id,
@@ -1090,6 +1093,7 @@ get_pixbuf_from_headers (GList *headers,
return pixbuf;
}
+G_GNUC_END_IGNORE_DEPRECATIONS
static void
parse_apply_tag_element (GMarkupParseContext *context,