diff options
| author | Markus Engel <markus.engel@tum.de> | 2013-09-20 15:03:42 +0000 |
|---|---|---|
| committer | Krzysztof KosiĆski <tweenk.pl@gmail.com> | 2013-09-20 15:03:42 +0000 |
| commit | 28669551d22dd94b33223ed729042ba3fefbc705 (patch) | |
| tree | 775fb96cc46f050059d36e6d6f32d1443065c201 /src/sp-object.cpp | |
| parent | make check: Fix harder. Remove muldefs hack and modify quote-test.h (diff) | |
| download | inkscape-28669551d22dd94b33223ed729042ba3fefbc705.tar.gz inkscape-28669551d22dd94b33223ed729042ba3fefbc705.zip | |
Fix grids after C++ification. Patch from Markus Engel
(bzr r12552)
Diffstat (limited to 'src/sp-object.cpp')
| -rw-r--r-- | src/sp-object.cpp | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/src/sp-object.cpp b/src/sp-object.cpp index 1ab3cade8..8c7a24a2b 100644 --- a/src/sp-object.cpp +++ b/src/sp-object.cpp @@ -61,6 +61,14 @@ using std::strstr; # define debug(f, a...) /* */ #endif +namespace { + SPObject* createObject() { + return new SPObject(); + } + + bool gridRegistered = SPFactory::instance().registerObject("inkscape:grid", createObject); +} + guint update_in_progress = 0; // guard against update-during-update Inkscape::XML::NodeEventVector object_event_vector = { |
