[librsvg] Fix for use of deprecated GCache
- From: Christian Persch <chpe src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [librsvg] Fix for use of deprecated GCache
- Date: Mon, 7 Nov 2011 19:28:47 +0000 (UTC)
commit 21dce772d3a099881e1a46d347c3e0e2037b144d
Author: Christian Persch <chpe gnome org>
Date: Mon Nov 7 18:12:14 2011 +0100
Fix for use of deprecated GCache
The gtk engine is deprecated itself, so don't bother fixing its use of GCache but
just define GLIB_DISABLE_DEPRECATION_WARNINGS here.
gtk-engine/svg-render.c | 3 +++
1 files changed, 3 insertions(+), 0 deletions(-)
---
diff --git a/gtk-engine/svg-render.c b/gtk-engine/svg-render.c
index ebe2f22..6a97ece 100644
--- a/gtk-engine/svg-render.c
+++ b/gtk-engine/svg-render.c
@@ -24,6 +24,9 @@
#include <stdio.h>
#include <string.h>
+/* GCache is deprecated */
+#define GLIB_DISABLE_DEPRECATION_WARNINGS
+
#include "svg.h"
static GCache *pixbuf_cache = NULL;
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]