[librsvg] Mark the pixbuf loader as thread-safe
- From: Matthias Clasen <matthiasc src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [librsvg] Mark the pixbuf loader as thread-safe
- Date: Thu, 10 Jan 2013 11:51:16 +0000 (UTC)
commit 4e1b6d2bb7779ad3c61a532905a88cf7a662df5e
Author: Matthias Clasen <mclasen redhat com>
Date: Thu Jan 3 08:13:56 2013 -0500
Mark the pixbuf loader as thread-safe
gdk-pixbuf 2.28 will ignore loaders that are not marked
as thread-safe.
gdk-pixbuf-loader/io-svg.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/gdk-pixbuf-loader/io-svg.c b/gdk-pixbuf-loader/io-svg.c
index 0afaed8..5c5e740 100644
--- a/gdk-pixbuf-loader/io-svg.c
+++ b/gdk-pixbuf-loader/io-svg.c
@@ -256,6 +256,6 @@ fill_info (GdkPixbufFormat *info)
info->description = _("Scalable Vector Graphics");
info->mime_types = mime_types;
info->extensions = extensions;
- info->flags = GDK_PIXBUF_FORMAT_SCALABLE;
+ info->flags = GDK_PIXBUF_FORMAT_SCALABLE | GDK_PIXBUF_FORMAT_THREADSAFE;
info->license = "LGPL";
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]