Code

Connector tool: make connectors avoid the convex hull of shapes.
[inkscape.git] / src / event.h
index 1e3e233cc94dba581275bdf53e5b78865b8294a3..bf11604d8aaac85d8b7c8c02d57b3533b1fb78e7 100644 (file)
@@ -32,7 +32,7 @@ struct Event {
     Event(XML::Event *_event, unsigned int _type=SP_VERB_NONE, Glib::ustring _description="")
         : event (_event), type (_type), description (_description)  { }
 
-    ~Event() { sp_repr_free_log (event); }
+    virtual ~Event() { sp_repr_free_log (event); }
 
     XML::Event *event;
     const unsigned int type;