diff --git a/client.cpp b/client.cpp
index c2b246c2fa..004e1e3215 100644
--- a/client.cpp
+++ b/client.cpp
@@ -43,7 +43,6 @@ along with this program. If not, see .
#endif
#include "workspace.h"
// KDE
-#include
#include
#include
// Qt
@@ -2352,14 +2351,6 @@ void Client::debug(QDebug& stream) const
print(stream);
}
-QPixmap* kwin_get_menu_pix_hack()
-{
- static QPixmap p;
- if (p.isNull())
- p = SmallIcon(QStringLiteral("bx2"));
- return &p;
-}
-
void Client::checkActivities()
{
#ifdef KWIN_BUILD_ACTIVITIES
diff --git a/tabbox/tabbox.cpp b/tabbox/tabbox.cpp
index f2f4213b32..c9e77e2261 100644
--- a/tabbox/tabbox.cpp
+++ b/tabbox/tabbox.cpp
@@ -63,8 +63,6 @@ along with this program. If not, see .
namespace KWin
{
-extern QPixmap* kwin_get_menu_pix_hack();
-
namespace TabBox
{