diff options
| author | Liam P. White <inkscapebrony@gmail.com> | 2014-08-08 13:13:58 +0000 |
|---|---|---|
| committer | Liam P. White <inkscapebrony@gmail.com> | 2014-08-08 13:13:58 +0000 |
| commit | c96a762f35cb9f14a6eac9180e7ebe4c43dcced9 (patch) | |
| tree | 64dc2b1826f6018d74426436d620c35b77979af5 /src/knot.cpp | |
| parent | Update to experimental r13460 (diff) | |
| parent | Small tweak to bbox calculation (diff) | |
| download | inkscape-c96a762f35cb9f14a6eac9180e7ebe4c43dcced9.tar.gz inkscape-c96a762f35cb9f14a6eac9180e7ebe4c43dcced9.zip | |
Update to experimental r13464
(bzr r13090.1.99)
Diffstat (limited to 'src/knot.cpp')
| -rw-r--r-- | src/knot.cpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/knot.cpp b/src/knot.cpp index 2f8f55a2e..6205af26a 100644 --- a/src/knot.cpp +++ b/src/knot.cpp @@ -21,6 +21,7 @@ #include "desktop.h" #include "desktop-handles.h" #include "knot.h" +#include "knot-ptr.h" #include "document.h" #include "document-undo.h" #include "preferences.h" @@ -118,6 +119,7 @@ SPKnot::SPKnot(SPDesktop *desktop, gchar const *tip) this->_event_handler_id = g_signal_connect(G_OBJECT(this->item), "event", G_CALLBACK(sp_knot_handler), this); + knot_created_callback(this); } SPKnot::~SPKnot() { @@ -165,6 +167,7 @@ SPKnot::~SPKnot() { // FIXME: cannot snap to destroyed knot (lp:1309050) //sp_event_context_discard_delayed_snap_event(this->desktop->event_context); + knot_deleted_callback(this); } void SPKnot::startDragging(Geom::Point const &p, gint x, gint y, guint32 etime) { |
