diff options
| author | Emmanuel Gil Peyrot <linkmauve@linkmauve.fr> | 2018-11-22 04:17:27 +0000 |
|---|---|---|
| committer | Tavmjong Bah <tavmjong@free.fr> | 2018-12-03 09:35:13 +0000 |
| commit | 6af653ae04272a27390821842d3e8e23c6af3efe (patch) | |
| tree | 33956cb2251979c6d3b06882d858a6c36f8c5dfc /src/ui/clipboard.cpp | |
| parent | Add other sofwar binds to new keys, add missing one (diff) | |
| download | inkscape-6af653ae04272a27390821842d3e8e23c6af3efe.tar.gz inkscape-6af653ae04272a27390821842d3e8e23c6af3efe.zip | |
Replace InkGC with std::shared_ptr for MessageStack
There are many places which still use this stack unmanaged (using
desktop->getMessageStack()) but those are all leaf calls which make use
of the stack and never store it anywhere, so this is fine.
Diffstat (limited to 'src/ui/clipboard.cpp')
| -rw-r--r-- | src/ui/clipboard.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/ui/clipboard.cpp b/src/ui/clipboard.cpp index 2e9bbe123..7f9e4b872 100644 --- a/src/ui/clipboard.cpp +++ b/src/ui/clipboard.cpp @@ -358,7 +358,7 @@ bool ClipboardManagerImpl::paste(SPDesktop *desktop, bool in_place) if ( desktop == nullptr ) { return false; } - if ( Inkscape::have_viable_layer(desktop, desktop->messageStack()) == false ) { + if ( Inkscape::have_viable_layer(desktop, desktop->getMessageStack()) == false ) { return false; } |
