diff options
| author | Joseph Da Silva <joseph.f.dasilva3@gmail.com> | 2019-03-20 16:10:02 +0000 |
|---|---|---|
| committer | Joseph Da Silva <joseph.f.dasilva3@gmail.com> | 2019-03-20 16:10:02 +0000 |
| commit | 498fe82b7a315ebc94dd7bf23cd1c1d1fb7d74d8 (patch) | |
| tree | 9913d8cfba94bd4b8f0816a1c0ed2652f8121542 /src | |
| parent | Fixed: circles and ellipses had wrong element names in XML editor (Issue #116) (diff) | |
| download | inkscape-498fe82b7a315ebc94dd7bf23cd1c1d1fb7d74d8.tar.gz inkscape-498fe82b7a315ebc94dd7bf23cd1c1d1fb7d74d8.zip | |
make GQuark => int conversion explicit
Diffstat (limited to 'src')
| -rw-r--r-- | src/xml/simple-node.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/xml/simple-node.cpp b/src/xml/simple-node.cpp index 700eba9e8..a1f0c7024 100644 --- a/src/xml/simple-node.cpp +++ b/src/xml/simple-node.cpp @@ -415,7 +415,7 @@ void SimpleNode::setCodeUnsafe(int code) { Debug::EventTracker<> tracker; tracker.set<DebugSetElementName>(*this, new_code); - _name = new_code; + _name = static_cast<int>(new_code); if (new_code != old_code) { _document->logger()->notifyElementNameChanged(*this, old_code, new_code); |
