diff --git a/dbusinterface.cpp b/dbusinterface.cpp index b2a2c369a6..8800b79f91 100644 --- a/dbusinterface.cpp +++ b/dbusinterface.cpp @@ -97,11 +97,15 @@ void DBusInterface::name() \ Workspace::self()->name();\ } -WRAP(killWindow) WRAP(reconfigure) #undef WRAP +void DBusInterface::killWindow() +{ + Workspace::self()->slotKillWindow(); +} + #define WRAP(name) \ void DBusInterface::name() \ {\ diff --git a/workspace.h b/workspace.h index 00e9395b1c..42a555c8f9 100644 --- a/workspace.h +++ b/workspace.h @@ -97,10 +97,6 @@ public: */ void killWindowId(Window window); - void killWindow() { - slotKillWindow(); - } - bool initializing() const; /**