summaryrefslogtreecommitdiffstats
path: root/src/ui/dialog/pixelartdialog.cpp
diff options
context:
space:
mode:
authorEmmanuel Gil Peyrot <linkmauve@linkmauve.fr>2018-11-22 04:17:27 +0000
committerTavmjong Bah <tavmjong@free.fr>2018-12-03 09:35:13 +0000
commit6af653ae04272a27390821842d3e8e23c6af3efe (patch)
tree33956cb2251979c6d3b06882d858a6c36f8c5dfc /src/ui/dialog/pixelartdialog.cpp
parentAdd other sofwar binds to new keys, add missing one (diff)
downloadinkscape-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/dialog/pixelartdialog.cpp')
-rw-r--r--src/ui/dialog/pixelartdialog.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/ui/dialog/pixelartdialog.cpp b/src/ui/dialog/pixelartdialog.cpp
index 7a79a44e1..e040d3be9 100644
--- a/src/ui/dialog/pixelartdialog.cpp
+++ b/src/ui/dialog/pixelartdialog.cpp
@@ -363,7 +363,7 @@ Tracer::Kopf2011::Options PixelArtDialogImpl::options()
void PixelArtDialogImpl::vectorize()
{
- Inkscape::MessageStack *msgStack = desktop->messageStack();
+ Inkscape::MessageStack *msgStack = desktop->getMessageStack();
if ( !desktop->selection ) {
char *msg = _("Select an <b>image</b> to trace");