summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorWolfgang Ulbrich <[email protected]>2016-02-08 09:04:56 +0100
committerWolfgang Ulbrich <[email protected]>2016-02-09 15:33:31 +0100
commit912286f8a198c6aab7f3a79ae1348b80d84f8ce5 (patch)
treec34cff430de7619051a340e3491024a0df2316c5
parent16b849a8c136130f11805c04bddb7ee1e7da73e4 (diff)
downloadmate-panel-912286f8a198c6aab7f3a79ae1348b80d84f8ce5.tar.bz2
mate-panel-912286f8a198c6aab7f3a79ae1348b80d84f8ce5.tar.xz
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. taken from: https://git.gnome.org/browse/gnome-panel/commit/?id=d306ad3
-rw-r--r--applets/clock/clock-utils.c1
-rw-r--r--configure.ac3
2 files changed, 2 insertions, 2 deletions
diff --git a/applets/clock/clock-utils.c b/applets/clock/clock-utils.c
index b8a15b5f..088f5231 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 5a595acd..ae117215 100644
--- a/configure.ac
+++ b/configure.ac
@@ -69,6 +69,7 @@ CAIRO_REQUIRED=1.0.0
DBUS_GLIB_REQUIRED=0.80
DCONF_NEW_REQUIRED=0.13.4
DCONF_OLD_REQUIRED=0.10.0
+LIBRSVG_REQUIRED=2.36.2
# GTK library
@@ -145,7 +146,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+-$GTK_API_VERSION >= $GTK_REQUIRED glib-2.0 >= $GLIB_REQUIRED gio-2.0 >= $GLIB_REQUIRED librsvg-2.0 dbus-glib-1 $WEATHER_LIB >= $WEATHER_REQUIRED mate-desktop-2.0 >= $LIBMATE_DESKTOP_REQUIRED)
+PKG_CHECK_MODULES(CLOCK, pango >= $PANGO_REQUIRED gtk+-$GTK_API_VERSION >= $GTK_REQUIRED glib-2.0 >= $GLIB_REQUIRED gio-2.0 >= $GLIB_REQUIRED librsvg-2.0 >= $LIBRSVG_REQUIRED dbus-glib-1 $WEATHER_LIB >= $WEATHER_REQUIRED mate-desktop-2.0 >= $LIBMATE_DESKTOP_REQUIRED)
AC_SUBST(CLOCK_CFLAGS)
AC_SUBST(CLOCK_LIBS)