[gnome-panel] remove deprecated librsvg/rsvg-cairo.h include



commit d306ad3495fe45e1a4ef684bac432a0c40d15fe5
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 d1ac86c..20d2721 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]