diff options
| author | johnce <johnce@users.sourceforge.net> | 2009-08-05 05:40:36 +0000 |
|---|---|---|
| committer | johnce <johnce@users.sourceforge.net> | 2009-08-05 05:40:36 +0000 |
| commit | 8b04d0db6c55e36935690d37defb6f9b68945796 (patch) | |
| tree | 3909eb7f8201b43f6a4dcfcc854eda2fbc72b17e /src/layer-manager.cpp | |
| parent | Scour extension added to Makefile.am and POTFILE.in (inkscape.pot updated). (diff) | |
| download | inkscape-8b04d0db6c55e36935690d37defb6f9b68945796.tar.gz inkscape-8b04d0db6c55e36935690d37defb6f9b68945796.zip | |
SPDocument->Document
(bzr r8404)
Diffstat (limited to 'src/layer-manager.cpp')
| -rw-r--r-- | src/layer-manager.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/layer-manager.cpp b/src/layer-manager.cpp index 8c45c7e53..fe0d41904 100644 --- a/src/layer-manager.cpp +++ b/src/layer-manager.cpp @@ -126,12 +126,12 @@ LayerManager::LayerManager(SPDesktop *desktop) { _layer_connection = desktop->connectCurrentLayerChanged( sigc::mem_fun(*this, &LayerManager::_selectedLayerChanged) ); - sigc::bound_mem_functor1<void, Inkscape::LayerManager, SPDocument*> first = sigc::mem_fun(*this, &LayerManager::_setDocument); + sigc::bound_mem_functor1<void, Inkscape::LayerManager, Document*> first = sigc::mem_fun(*this, &LayerManager::_setDocument); // This next line has problems on gcc 4.0.2 - sigc::slot<void, SPDocument*> base2 = first; + sigc::slot<void, Document*> base2 = first; - sigc::slot<void,SPDesktop*,SPDocument*> slot2 = sigc::hide<0>( base2 ); + sigc::slot<void,SPDesktop*,Document*> slot2 = sigc::hide<0>( base2 ); _document_connection = desktop->connectDocumentReplaced( slot2 ); _setDocument(desktop->doc()); @@ -211,7 +211,7 @@ void LayerManager::renameLayer( SPObject* obj, gchar const *label, bool uniquify -void LayerManager::_setDocument(SPDocument *document) { +void LayerManager::_setDocument(Document *document) { if (_document) { _resource_connection.disconnect(); } |
