summaryrefslogtreecommitdiffstats
path: root/src/extension
diff options
context:
space:
mode:
authorLiam P. White <inkscapebronyat-signgmaildotcom>2014-04-01 00:30:50 +0000
committerLiam P. White <inkscapebronyat-signgmaildotcom>2014-04-01 00:30:50 +0000
commitf438b6b2ed8fb3013ef75832ef0763d27aa130eb (patch)
tree57dbdbd030a0efb418ff714992520fc23af4597a /src/extension
parentUpdate to trunk (diff)
parentpartial 2geom update: (diff)
downloadinkscape-f438b6b2ed8fb3013ef75832ef0763d27aa130eb.tar.gz
inkscape-f438b6b2ed8fb3013ef75832ef0763d27aa130eb.zip
Update to trunk
(bzr r13090.1.39)
Diffstat (limited to 'src/extension')
-rw-r--r--src/extension/internal/filter/color.h2
-rw-r--r--src/extension/system.cpp2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/extension/internal/filter/color.h b/src/extension/internal/filter/color.h
index 7059ad29b..19af6e969 100644
--- a/src/extension/internal/filter/color.h
+++ b/src/extension/internal/filter/color.h
@@ -941,7 +941,7 @@ Invert::get_filter_text (Inkscape::Extension::Extension * ext)
std::ostringstream transparency;
std::ostringstream hue;
- if (ext->get_param_bool("hue") xor ext->get_param_bool("lightness")) {
+ if (ext->get_param_bool("hue") ^ ext->get_param_bool("lightness")) {
hue << "<feColorMatrix type=\"hueRotate\" values=\"180\" result=\"color1\" />\n";
} else {
hue << "";
diff --git a/src/extension/system.cpp b/src/extension/system.cpp
index 7a50826ca..c244d9c16 100644
--- a/src/extension/system.cpp
+++ b/src/extension/system.cpp
@@ -99,7 +99,7 @@ SPDocument *open(Extension *key, gchar const *filename)
Inkscape::Preferences *prefs = Inkscape::Preferences::get();
bool ask = prefs->getBool("/dialogs/import/ask");
Glib::ustring id = Glib::ustring(imod->get_id(), 28);
- if (!ask and id.compare( "org.inkscape.input.gdkpixbuf") == 0) {
+ if (!ask && id.compare( "org.inkscape.input.gdkpixbuf") == 0) {
show = false;
imod->set_gui(false);
}