summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: cb85c8c)
raw | patch | inline | side by side (parent: cb85c8c)
| author | gouldtj <gouldtj@users.sourceforge.net> | |
| Sat, 6 May 2006 16:03:52 +0000 (16:03 +0000) | ||
| committer | gouldtj <gouldtj@users.sourceforge.net> | |
| Sat, 6 May 2006 16:03:52 +0000 (16:03 +0000) |
Fixing and uninitialized warning.
| src/extension/patheffect.cpp | patch | blob | history |
index f6ff273fa98509ccd7adea6380308696bba07fa9..e45d0b25504950b68e4f52e8373ee7945c174c8d 100644 (file)
* Released under GNU GPL, read the file 'COPYING' for more information
*/
+#include "document-private.h"
+#include "sp-object.h"
+
#include "patheffect.h"
#include "db.h"
return;
gchar ** patheffects = g_strsplit(patheffectlist, ";", 128);
- Inkscape::XML::Node * defs;
+ Inkscape::XML::Node * defs = SP_OBJECT_REPR(SP_DOCUMENT_DEFS(doc));
for (int i = 0; patheffects[i] != NULL && i < 128; i++) {
gchar * patheffect = patheffects[i];