summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 56542e2)
raw | patch | inline | side by side (parent: 56542e2)
author | johanengelen <johanengelen@users.sourceforge.net> | |
Sat, 3 Nov 2007 18:02:54 +0000 (18:02 +0000) | ||
committer | johanengelen <johanengelen@users.sourceforge.net> | |
Sat, 3 Nov 2007 18:02:54 +0000 (18:02 +0000) |
src/layer-manager.cpp | patch | blob | history | |
src/layer-manager.h | patch | blob | history |
diff --git a/src/layer-manager.cpp b/src/layer-manager.cpp
index 34a909a796aef25edb2f10746a98f5b29b5133eb..86c8e4fcd8be5d03170a1cec2d7cc65891946cca 100644 (file)
--- a/src/layer-manager.cpp
+++ b/src/layer-manager.cpp
_setDocument(desktop->doc());
}
+LayerManager::~LayerManager()
+{
+ _layer_connection.disconnect();
+ _document_connection.disconnect();
+ _resource_connection.disconnect();
+}
void LayerManager::setCurrentLayer( SPObject* obj )
{
diff --git a/src/layer-manager.h b/src/layer-manager.h
index 0dec95c978b82218ab985715c1f344c9fcc40f73..514677fd03a944ed713fe7c7717f551223d79aa7 100644 (file)
--- a/src/layer-manager.h
+++ b/src/layer-manager.h
{
public:
LayerManager(SPDesktop *desktop);
+ ~LayerManager();
void setCurrentLayer( SPObject* obj );
void renameLayer( SPObject* obj, gchar const *label );