diff options
| author | Jabier Arraiza Cenoz <jabier.arraiza@marker.es> | 2014-11-21 10:49:53 +0000 |
|---|---|---|
| committer | Jabiertxof <jtx@jtx.marker.es> | 2014-11-21 10:49:53 +0000 |
| commit | e47fb0e9289362d92a13454d9768dd747e2bb917 (patch) | |
| tree | 2b9f31379549a739684ac2c8246e7fc6f999792a /src/sp-namedview.cpp | |
| parent | added knot improvements pointed by su_v (diff) | |
| parent | Windows: add 64bit GTK3 buildtool build file. (diff) | |
| download | inkscape-e47fb0e9289362d92a13454d9768dd747e2bb917.tar.gz inkscape-e47fb0e9289362d92a13454d9768dd747e2bb917.zip | |
update to trunk
(bzr r13682.1.20)
Diffstat (limited to 'src/sp-namedview.cpp')
| -rw-r--r-- | src/sp-namedview.cpp | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/sp-namedview.cpp b/src/sp-namedview.cpp index 8b28347f1..b68421dc6 100644 --- a/src/sp-namedview.cpp +++ b/src/sp-namedview.cpp @@ -72,7 +72,7 @@ SPNamedView::SPNamedView() : SPObjectGroup(), snap_manager(this) { this->guidehicolor = 0; this->views = NULL; this->borderlayer = 0; - this->units = NULL; + this->page_size_units = NULL; this->window_x = 0; this->cy = 0; this->window_y = 0; @@ -581,6 +581,7 @@ void SPNamedView::set(unsigned int key, const gchar* value) { break; } case SP_ATTR_UNITS: { + // Only used in "Custom size" section of Document Properties dialog Inkscape::Util::Unit const *new_unit = NULL; if (value) { @@ -599,7 +600,7 @@ void SPNamedView::set(unsigned int key, const gchar* value) { /* fixme: Don't use g_log (see above). */ } } - this->units = new_unit; + this->page_size_units = new_unit; this->requestModified(SP_OBJECT_MODIFIED_FLAG); break; } |
