diff --git a/src/conditions.cpp b/src/conditions.cpp
index e5a1d47c9c95505a239559e2c53c0400573ebe44..4a18a6913be5ddebf2bae19315a599260f279f39 100644 (file)
--- a/src/conditions.cpp
+++ b/src/conditions.cpp
#include <glibmm/ustring.h>
#include "conditions.h"
#include "xml/repr.h"
-#include "dialogs/rdf.h"
+#include "rdf.h"
typedef bool (* condition_evaluator)(SPItem const *item, gchar const *value);
#define SVG10FEATURE "org.w3c."
static bool evaluateSVG11Feature(gchar const *feature) {
- static gchar *_supported_features[] = {
+ static gchar const *_supported_features[] = {
"SVG", // incomplete "SVG-static" - missing support for "Filter"
/* SVG - user agent supports at least one of the following:
"SVG-static", "SVG-animation", "SVG-dynamic" or "SVGDOM" */
}
static bool evaluateSVG10Feature(gchar const *feature) {
- static gchar *_supported_features[] = {
+ static gchar const *_supported_features[] = {
"svg.static", // incomplete - no filter effects
"dom.svg.static", // not sure
// "svg.animation",
return false;
}
-static bool evaluateRequiredFeatures(SPItem const *item, gchar const *value) {
+static bool evaluateRequiredFeatures(SPItem const */*item*/, gchar const *value) {
if ( NULL == value )
return true;
return true;
}
-static bool evaluateRequiredExtensions(SPItem const *item, gchar const *value) {
+static bool evaluateRequiredExtensions(SPItem const */*item*/, gchar const *value) {
if ( NULL == value )
return true;
return false;