diff options
| author | Liam P. White <inkscapebronyat-signgmaildotcom> | 2014-03-28 01:36:41 +0000 |
|---|---|---|
| committer | Liam P. White <inkscapebronyat-signgmaildotcom> | 2014-03-28 01:36:41 +0000 |
| commit | c1ecda53e4ce811681e6545f6158eb48c4a983a0 (patch) | |
| tree | 064de4eb4815f49ed736bc9c52c3b3d78251a61a /src/knotholder.cpp | |
| parent | Update to trunk (diff) | |
| parent | Fix make check (diff) | |
| download | inkscape-c1ecda53e4ce811681e6545f6158eb48c4a983a0.tar.gz inkscape-c1ecda53e4ce811681e6545f6158eb48c4a983a0.zip | |
Update to trunk
(bzr r13090.1.35)
Diffstat (limited to 'src/knotholder.cpp')
| -rw-r--r-- | src/knotholder.cpp | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/src/knotholder.cpp b/src/knotholder.cpp index bef89f3af..cf87423d4 100644 --- a/src/knotholder.cpp +++ b/src/knotholder.cpp @@ -63,14 +63,12 @@ KnotHolder::KnotHolder(SPDesktop *desktop, SPItem *item, SPKnotHolderReleasedFun g_print ("Error! Throw an exception, please!\n"); } - //g_object_ref(G_OBJECT(item)); // TODO: is this still needed after C++-ification? sp_object_ref(item); sizeUpdatedConn = ControlManager::getManager().connectCtrlSizeChanged(sigc::mem_fun(*this, &KnotHolder::updateControlSizes)); } KnotHolder::~KnotHolder() { - //g_object_unref(G_OBJECT(item)); sp_object_unref(item); for (std::list<KnotHolderEntity *>::iterator i = entity.begin(); i != entity.end(); ++i) @@ -187,7 +185,7 @@ KnotHolder::knot_moved_handler(SPKnot *knot, Geom::Point const &p, guint state) } void -KnotHolder::knot_ungrabbed_handler(SPKnot */*knot*/) +KnotHolder::knot_ungrabbed_handler(SPKnot */*knot*/, guint) { this->dragging = false; |
