gnome-games r8516 - trunk/libgames-support
- From: chpe svn gnome org
 
- To: svn-commits-list gnome org
 
- Subject: gnome-games r8516 - trunk/libgames-support
 
- Date: Tue,  6 Jan 2009 18:21:06 +0000 (UTC)
 
Author: chpe
Date: Tue Jan  6 18:21:06 2009
New Revision: 8516
URL: http://svn.gnome.org/viewvc/gnome-games?rev=8516&view=rev
Log:
Simplify this conditional by using LIBRSVG_HAVE_SVGZ define.
Modified:
   trunk/libgames-support/games-card-theme-preimage.c
Modified: trunk/libgames-support/games-card-theme-preimage.c
==============================================================================
--- trunk/libgames-support/games-card-theme-preimage.c	(original)
+++ trunk/libgames-support/games-card-theme-preimage.c	Tue Jan  6 18:21:06 2009
@@ -27,11 +27,6 @@
 
 #ifdef HAVE_RSVG
 #include <librsvg/librsvg-features.h>
-#ifdef LIBRSVG_CHECK_FEATURE
-#if LIBRSVG_CHECK_FEATURE(SVGZ)
-#define HAVE_RSVG_SVGZ
-#endif
-#endif
 #endif
 
 #include "games-preimage.h"
@@ -234,7 +229,7 @@
   char *display_name;
 
   if (!g_str_has_suffix (filename, ".svg")
-#ifdef HAVE_RSVG_SVGZ
+#if defined(LIBRSVG_HAVE_SVGZ) && LIBRSVG_HAVE_SVGZ
       && !g_str_has_suffix (filename, ".svgz")
 #endif
      )
[
Date Prev][
Date Next]   [
Thread Prev][
Thread Next]   
[
Thread Index]
[
Date Index]
[
Author Index]