summaryrefslogtreecommitdiffstats
path: root/src/inkscape-window.h
diff options
context:
space:
mode:
authorTavmjong Bah <tavmjong@free.fr>2019-02-17 09:50:49 +0000
committerTavmjong Bah <tavmjong@free.fr>2019-02-17 09:50:49 +0000
commit65f4b4a006cb13a3b559dc291a23929909635ce9 (patch)
treeb8a973db0f20521130a14e75bd841f04abe3863c /src/inkscape-window.h
parentCI/AppVeyor: Add link to AppVeyor history toredirect template (diff)
downloadinkscape-65f4b4a006cb13a3b559dc291a23929909635ce9.tar.gz
inkscape-65f4b4a006cb13a3b559dc291a23929909635ce9.zip
Add document_open and document_close functions and use them in batch mode.
Diffstat (limited to 'src/inkscape-window.h')
-rw-r--r--src/inkscape-window.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/inkscape-window.h b/src/inkscape-window.h
index 1473c6a88..e05b923c0 100644
--- a/src/inkscape-window.h
+++ b/src/inkscape-window.h
@@ -39,6 +39,7 @@ class InkscapeWindow : public Gtk::ApplicationWindow {
public:
InkscapeWindow(SPDocument* document);
+ SPDocument* get_document() { return _document; }
SPDesktop* get_desktop() { return _desktop; }
SPDesktopWidget* get_desktop_widget() { return _desktop_widget; }