summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: ef1f6f0)
raw | patch | inline | side by side (parent: ef1f6f0)
author | buliabyak <buliabyak@users.sourceforge.net> | |
Mon, 26 Mar 2007 08:56:05 +0000 (08:56 +0000) | ||
committer | buliabyak <buliabyak@users.sourceforge.net> | |
Mon, 26 Mar 2007 08:56:05 +0000 (08:56 +0000) |
diff --git a/src/attributes-test.h b/src/attributes-test.h
index d1d872bf73e021a0ad1ac97789537c01ec95eb59..d82b14df81e88073cb4160759b7aa61abdbcffea 100644 (file)
--- a/src/attributes-test.h
+++ b/src/attributes-test.h
{"gridtolerance", true},
{"guidetolerance", true},
{"objecttolerance", true},
- {"has_abs_tolerance", true},
{"gridoriginx", true},
{"gridoriginy", true},
{"gridspacingx", true},
diff --git a/src/attributes.cpp b/src/attributes.cpp
index 858f71804f890f65f4f1f5435c73beb8b201599d..a453b726ac26680a046d784ddec7899cc300d004 100644 (file)
--- a/src/attributes.cpp
+++ b/src/attributes.cpp
{SP_ATTR_GRIDTOLERANCE, "gridtolerance"},
{SP_ATTR_GUIDETOLERANCE, "guidetolerance"},
{SP_ATTR_OBJECTTOLERANCE, "objecttolerance"},
- {SP_ATTR_ABS_TOLERANCE, "has_abs_tolerance"},
{SP_ATTR_GRIDORIGINX, "gridoriginx"},
{SP_ATTR_GRIDORIGINY, "gridoriginy"},
{SP_ATTR_GRIDSPACINGX, "gridspacingx"},
diff --git a/src/attributes.h b/src/attributes.h
index 253724ac42dc4625a355bf9dc6aa8f23ed7cb292..224bd379e0e80a0ca857f80c95e4c2ec8d5779a4 100644 (file)
--- a/src/attributes.h
+++ b/src/attributes.h
SP_ATTR_GRIDTOLERANCE,
SP_ATTR_GUIDETOLERANCE,
SP_ATTR_OBJECTTOLERANCE,
- SP_ATTR_ABS_TOLERANCE,
SP_ATTR_GRIDORIGINX,
SP_ATTR_GRIDORIGINY,
SP_ATTR_GRIDSPACINGX,
diff --git a/src/sp-namedview.cpp b/src/sp-namedview.cpp
index a220d8401c2cb259a9039208592c8a0f8ac1132f..0928de19e2b1af9fa5173f53000d4f40052ca393 100644 (file)
--- a/src/sp-namedview.cpp
+++ b/src/sp-namedview.cpp
@@ -139,7 +139,6 @@ static void sp_namedview_build(SPObject *object, SPDocument *document, Inkscape:
sp_object_read_attr(object, "gridtolerance");
sp_object_read_attr(object, "guidetolerance");
sp_object_read_attr(object, "objecttolerance");
- sp_object_read_attr(object, "inkscape:has_abs_tolerance");
sp_object_read_attr(object, "gridoriginx");
sp_object_read_attr(object, "gridoriginy");
sp_object_read_attr(object, "gridspacingx");
@@ -268,13 +267,6 @@ static void sp_namedview_set(SPObject *object, unsigned int key, const gchar *va
}
object->requestModified(SP_OBJECT_MODIFIED_FLAG);
break;
- case SP_ATTR_ABS_TOLERANCE:
- if (!value)
- nv->has_abs_tolerance = true;
- else
- nv->has_abs_tolerance = (sp_str_to_bool (value) == TRUE);
- object->requestModified(SP_OBJECT_MODIFIED_FLAG);
- break;
case SP_ATTR_GRIDORIGINX:
case SP_ATTR_GRIDORIGINY:
{
diff --git a/src/sp-namedview.h b/src/sp-namedview.h
index be7f1a541e91d9ca49442bd5130a3de135f8415b..64b78d29c5527d558078ab5153742e331e4e18bf 100644 (file)
--- a/src/sp-namedview.h
+++ b/src/sp-namedview.h
SPUnit const *objecttoleranceunit;
gdouble objecttolerance;
- bool has_abs_tolerance;
-
GQuark default_layer_id;
double connector_spacing;