summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/desktop.cpp13
-rw-r--r--src/desktop.h1
2 files changed, 0 insertions, 14 deletions
diff --git a/src/desktop.cpp b/src/desktop.cpp
index 7846599c7..335afa17d 100644
--- a/src/desktop.cpp
+++ b/src/desktop.cpp
@@ -726,19 +726,6 @@ SPItem *SPDesktop::getGroupAtPoint(Geom::Point const &p) const
g_return_val_if_fail (doc() != nullptr, NULL);
return doc()->getGroupAtPoint(dkey, p);
}
-/**
- * Returns a vector of visible items in a desktop
- */
-std::vector<SPItem *> SPDesktop::getVisibleItems(bool isFiltered) {
- std::vector<SPItem *> result;
- for(auto item:getDocument()->getItemsPartiallyInBox(dkey, get_display_area(), false, true, true, false, true)) {
- if(isFiltered && !item->isFiltered()) {
- continue;
- }
- result.push_back(item);
- }
- return result;
-}
/**
* Returns the mouse point in document coordinates; if mouse is
diff --git a/src/desktop.h b/src/desktop.h
index 8e83b16b9..61d1f875d 100644
--- a/src/desktop.h
+++ b/src/desktop.h
@@ -436,7 +436,6 @@ public:
void mouseover() override {}
void mouseout() override {}
- std::vector<SPItem *> getVisibleItems(bool isFiltered = false);
virtual bool onDeleteUI (GdkEventAny*);
virtual bool onWindowStateEvent (GdkEventWindowState* event);