summaryrefslogtreecommitdiffstats
path: root/src/helper
diff options
context:
space:
mode:
Diffstat (limited to 'src/helper')
-rw-r--r--src/helper/action-context.cpp4
-rw-r--r--src/helper/action-context.h2
2 files changed, 3 insertions, 3 deletions
diff --git a/src/helper/action-context.cpp b/src/helper/action-context.cpp
index f211d775d..d52e43d96 100644
--- a/src/helper/action-context.cpp
+++ b/src/helper/action-context.cpp
@@ -6,7 +6,7 @@
*
* Copyright (C) 2013 Eric Greveson
*
- * This code is in public domain
+ * Released under GNU GPL, read the file 'COPYING' for more information
*/
#include "desktop.h"
@@ -47,7 +47,7 @@ SPDocument *ActionContext::getDocument() const
}
// Should be the same as the view's document, if view is non-NULL
- return _selection->layerModel()->getDocument();
+ return _selection->layers()->getDocument();
}
Selection *ActionContext::getSelection() const
diff --git a/src/helper/action-context.h b/src/helper/action-context.h
index 3a7a19112..bb538f413 100644
--- a/src/helper/action-context.h
+++ b/src/helper/action-context.h
@@ -6,7 +6,7 @@
*
* Copyright (C) 2013 Eric Greveson
*
- * This code is in public domain
+ * Released under GNU GPL, read the file 'COPYING' for more information
*/
#ifndef SEEN_INKSCAPE_ACTION_CONTEXT_H