diff --git a/client.h b/client.h
index 9d9bac365f..7a24c68ffc 100644
--- a/client.h
+++ b/client.h
@@ -229,7 +229,7 @@ class Client
/**
* The "Window Tabs" Group this Client belongs to.
**/
- Q_PROPERTY(KWin::TabGroup* tabGroup READ tabGroup NOTIFY tabGroupChanged)
+ Q_PROPERTY(KWin::TabGroup* tabGroup READ tabGroup NOTIFY tabGroupChanged SCRIPTABLE false)
/**
* Whether this Client is the currently visible Client in its Client Group (Window Tabs).
* For change connect to the visibleChanged signal on the Client's Group.
diff --git a/scripting/meta.cpp b/scripting/meta.cpp
index b72eefa763..92f11ebf2d 100644
--- a/scripting/meta.cpp
+++ b/scripting/meta.cpp
@@ -20,7 +20,6 @@ along with this program. If not, see .
#include "meta.h"
#include "client.h"
-#include "tabgroup.h"
#include