diff options
| author | Karl Cheng <qantas94heavy@gmail.com> | 2019-05-12 12:26:47 +0000 |
|---|---|---|
| committer | Karl Cheng <qantas94heavy@gmail.com> | 2019-05-12 12:30:59 +0000 |
| commit | 6e1495731a8f04fe88c5bd9777627424886751a2 (patch) | |
| tree | c27fde4eb808e16c89dd60e4c1781f3b7c1b5f3a /src/object/sp-linear-gradient.cpp | |
| parent | Merge branch 'master' of gitlab.com:inkscape/inkscape (diff) | |
| download | inkscape-6e1495731a8f04fe88c5bd9777627424886751a2.tar.gz inkscape-6e1495731a8f04fe88c5bd9777627424886751a2.zip | |
Retrieve pattern object from ID before casting
The actual pattern object itself needs to be retrieved before casting
as SP_PATTERN(). You can't magically get an SPPattern* out of a gchar*.
Also move SP_IS_PATTERN() check to before it is used.
Fixes: https://bugs.launchpad.net/inkscape/+bug/1378595
Diffstat (limited to 'src/object/sp-linear-gradient.cpp')
0 files changed, 0 insertions, 0 deletions
