Code

show more axonometric grid lines
[inkscape.git] / src / conditions.cpp
index e5a1d47c9c95505a239559e2c53c0400573ebe44..4a18a6913be5ddebf2bae19315a599260f279f39 100644 (file)
@@ -19,7 +19,7 @@
 #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);
 
@@ -149,7 +149,7 @@ static std::vector<Glib::ustring> splitByWhitespace(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" */
@@ -228,7 +228,7 @@ static bool evaluateSVG11Feature(gchar const *feature) {
 }
 
 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",
@@ -258,7 +258,7 @@ static bool evaluateSingleFeature(gchar const *value) {
     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;
 
@@ -275,7 +275,7 @@ static bool evaluateRequiredFeatures(SPItem const *item, gchar const *value) {
     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;