summaryrefslogtreecommitdiffstats
path: root/src/sp-object.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/sp-object.cpp')
-rw-r--r--src/sp-object.cpp8
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 = {