diff options
| author | Ben Scholzen 'DASPRiD <mail@dasprids.de> | 2015-05-25 18:19:16 +0000 |
|---|---|---|
| committer | ~suv <suv-sf@users.sourceforge.net> | 2015-05-25 18:19:16 +0000 |
| commit | b8cee2c3e14b2bf5b8f4bb56836ee17c31fd5147 (patch) | |
| tree | 7b17cd30329742d521ab5eb29e79de6ce627810b /src/live_effects/parameter/parameter.cpp | |
| parent | Fix crash in import of PDF via Poppler/Cairo with relative path. (diff) | |
| parent | Use sane constant for min and max values in LPE dialogs (diff) | |
| download | inkscape-b8cee2c3e14b2bf5b8f4bb56836ee17c31fd5147.tar.gz inkscape-b8cee2c3e14b2bf5b8f4bb56836ee17c31fd5147.zip | |
Fix locale number handling on powerstroke dialog (bug #1457172)
Fixed bugs:
- https://launchpad.net/bugs/1457172
(bzr r14173)
Diffstat (limited to 'src/live_effects/parameter/parameter.cpp')
| -rw-r--r-- | src/live_effects/parameter/parameter.cpp | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/src/live_effects/parameter/parameter.cpp b/src/live_effects/parameter/parameter.cpp index beb750404..527bc06fe 100644 --- a/src/live_effects/parameter/parameter.cpp +++ b/src/live_effects/parameter/parameter.cpp @@ -42,13 +42,6 @@ Parameter::param_write_to_repr(const char * svgd) param_effect->getRepr()->setAttribute(param_key.c_str(), svgd); } -// In gtk2, this wasn't an issue; we could toss around -// G_MAXDOUBLE and not worry about size allocations. But -// in gtk3, it is an issue: it allocates widget size for the maxmium -// value you pass to it, leading to some insane lengths. -// If you need this to be more, please be conservative about it. -const double SCALARPARAM_G_MAXDOUBLE = 10000000000.0; // TODO fixme: using an arbitrary large number as a magic value seems fragile. - void Parameter::write_to_SVG(void) { gchar * str = param_getSVGValue(); |
