[gnome-panel/features/modernize-for-gnome-3-12: 3/11] remove deprecated librsvg/rsvg-cairo.h include



commit fc2a3ca90aa1e70d90ef7a5dc97d86f99f41d05c
Author: Alberts Muktupāvels <alberts muktupavels gmail com>
Date:   Sat Dec 7 13:05:59 2013 +0200

    remove deprecated librsvg/rsvg-cairo.h include
    
    Direct include of librsvg/rsvg-cairo.h has been deprecated from
    2.36.2 version. Removed it and added required version for librsvg.

 applets/clock/clock-utils.c |    1 -
 configure.ac                |    3 ++-
 2 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/applets/clock/clock-utils.c b/applets/clock/clock-utils.c
index 92f50ad..d937b23 100644
--- a/applets/clock/clock-utils.c
+++ b/applets/clock/clock-utils.c
@@ -33,7 +33,6 @@
 #include <gtk/gtk.h>
 
 #include <librsvg/rsvg.h>
-#include <librsvg/rsvg-cairo.h>
 
 #include "clock.h"
 
diff --git a/configure.ac b/configure.ac
index 6493296..cc10623 100644
--- a/configure.ac
+++ b/configure.ac
@@ -78,6 +78,7 @@ CAIRO_REQUIRED=1.0.0
 GWEATHER_REQUIRED=3.5.1
 DBUS_GLIB_REQUIRED=0.80
 DCONF_REQUIRED=0.13.4
+LIBRSVG_REQUIRED=2.36.2
 
 dnl pkg-config dependency checks
 
@@ -131,7 +132,7 @@ PKG_CHECK_MODULES(TZ, gio-2.0 >= $GLIB_REQUIRED)
 AC_SUBST(TZ_CFLAGS)
 AC_SUBST(TZ_LIBS)
 
-PKG_CHECK_MODULES(CLOCK, pango >= $PANGO_REQUIRED gtk+-3.0 >= $GTK_REQUIRED glib-2.0 >= $GLIB_REQUIRED 
gio-2.0 >= $GLIB_REQUIRED librsvg-2.0 gweather-3.0 >= $GWEATHER_REQUIRED gnome-desktop-3.0 >= 
$LIBGNOME_DESKTOP_REQUIRED polkit-gobject-1)
+PKG_CHECK_MODULES(CLOCK, pango >= $PANGO_REQUIRED gtk+-3.0 >= $GTK_REQUIRED glib-2.0 >= $GLIB_REQUIRED 
gio-2.0 >= $GLIB_REQUIRED librsvg-2.0 >= $LIBRSVG_REQUIRED gweather-3.0 >= $GWEATHER_REQUIRED 
gnome-desktop-3.0 >= $LIBGNOME_DESKTOP_REQUIRED polkit-gobject-1)
 AC_SUBST(CLOCK_CFLAGS)
 AC_SUBST(CLOCK_LIBS)
 


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