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/tools/text-tool.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/tools/text-tool.cpp')
| -rw-r--r-- | src/ui/tools/text-tool.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/ui/tools/text-tool.cpp b/src/ui/tools/text-tool.cpp index 491154fb4..3ec0e6916 100644 --- a/src/ui/tools/text-tool.cpp +++ b/src/ui/tools/text-tool.cpp @@ -513,7 +513,7 @@ bool TextTool::root_handler(GdkEvent* event) { case GDK_BUTTON_PRESS: if (event->button.button == 1 && !this->space_panning) { - if (Inkscape::have_viable_layer(desktop, desktop->messageStack()) == false) { + if (Inkscape::have_viable_layer(desktop, desktop->getMessageStack()) == false) { return TRUE; } |
