summaryrefslogtreecommitdiffstats
path: root/src/inkscape.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/inkscape.cpp')
-rw-r--r--src/inkscape.cpp8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/inkscape.cpp b/src/inkscape.cpp
index 6fe90a82e..d3cc1aa00 100644
--- a/src/inkscape.cpp
+++ b/src/inkscape.cpp
@@ -1401,6 +1401,14 @@ inkscape_get_menus (Inkscape::Application * inkscape)
return repr->firstChild();
}
+void
+inkscape_get_all_desktops(std::list< SPDesktop* >& listbuf)
+{
+ for(GSList* l = inkscape->desktops; l != NULL; l = l->next) {
+ listbuf.push_back(static_cast< SPDesktop* >(l->data));
+ }
+}
+
/*