[gnome-robots] Do not use deprecated librsvg functionality



commit 3dcc5c657a84b5f1eecbed6cda1269cc551fa457
Author: Michael Catanzaro <mcatanzaro gnome org>
Date:   Sat Jun 21 13:03:33 2014 -0500

    Do not use deprecated librsvg functionality

 configure.ac         |    2 +-
 src/games-preimage.c |    4 ----
 2 files changed, 1 insertions(+), 5 deletions(-)
---
diff --git a/configure.ac b/configure.ac
index 5e19ddd..0502eb1 100644
--- a/configure.ac
+++ b/configure.ac
@@ -17,7 +17,7 @@ dnl ###########################################################################
 
 GTK_REQUIRED=3.12.0
 GLIB_REQUIRED=2.32
-RSVG_REQUIRED=2.32.0
+RSVG_REQUIRED=2.36.2
 CANBERRA_GTK_REQUIRED=0.26
 
 PKG_CHECK_MODULES(ROBOTS, [
diff --git a/src/games-preimage.c b/src/games-preimage.c
index 94ff8ea..4d51df7 100644
--- a/src/games-preimage.c
+++ b/src/games-preimage.c
@@ -31,8 +31,6 @@
 #include <gdk/gdk.h>
 
 #include <librsvg/rsvg.h>
-#include <librsvg/rsvg-cairo.h>
-
 
 #include "games-preimage.h"
 
@@ -86,8 +84,6 @@ games_preimage_class_init (GamesPreimageClass * klass)
   GObjectClass *oclass = G_OBJECT_CLASS (klass);
 
   oclass->finalize = games_preimage_finalize;
-
-  rsvg_init ();
 }
 
 /**


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