From 2702c1930bc70cbb071af812ebf076a274bb324c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Martin=20Gr=C3=A4=C3=9Flin?= Date: Mon, 8 Apr 2013 14:30:24 +0200 Subject: [PATCH] Remove useless method Workspace::killWindow Was just wrapping to slotKillWindow. --- dbusinterface.cpp | 6 +++++- workspace.h | 4 ---- 2 files changed, 5 insertions(+), 5 deletions(-) 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; /**