summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 6a9b1c6)
raw | patch | inline | side by side (parent: 6a9b1c6)
author | joncruz <joncruz@users.sourceforge.net> | |
Fri, 6 Apr 2007 16:11:45 +0000 (16:11 +0000) | ||
committer | joncruz <joncruz@users.sourceforge.net> | |
Fri, 6 Apr 2007 16:11:45 +0000 (16:11 +0000) |
src/inkscape.cpp | patch | blob | history |
diff --git a/src/inkscape.cpp b/src/inkscape.cpp
index af6ef4f05a125c5718c0f76a88e64e7a535072f0..829aacdc989166f99afac3b7f6beaef68b88351e 100644 (file)
--- a/src/inkscape.cpp
+++ b/src/inkscape.cpp
Inkscape::XML::Node *
inkscape_get_repr (Inkscape::Application *inkscape, const gchar *key)
{
- if (key == NULL) {
+ if ( (key == NULL) || (inkscape == NULL) ) {
return NULL;
}