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



commit b638ed1608a09bd7c6a20594d00b813351332056
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 8799194..1ea7f9a 100644
--- a/applets/clock/clock-utils.c
+++ b/applets/clock/clock-utils.c
@@ -35,7 +35,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 2e07a8e..782e10c 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]