summaryrefslogtreecommitdiff
path: root/src/gui/widgets
diff options
context:
space:
mode:
Diffstat (limited to 'src/gui/widgets')
-rw-r--r--src/gui/widgets/desktop.h2
-rw-r--r--src/gui/widgets/window.h2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/gui/widgets/desktop.h b/src/gui/widgets/desktop.h
index 4e8e77003..1ca411732 100644
--- a/src/gui/widgets/desktop.h
+++ b/src/gui/widgets/desktop.h
@@ -46,7 +46,7 @@ namespace gcn
*
* \ingroup GUI
*/
-class Desktop : public Container, gcn::WidgetListener
+class Desktop : public Container, private gcn::WidgetListener
{
public:
Desktop();
diff --git a/src/gui/widgets/window.h b/src/gui/widgets/window.h
index a006b3995..86f225db4 100644
--- a/src/gui/widgets/window.h
+++ b/src/gui/widgets/window.h
@@ -44,7 +44,7 @@ class WindowContainer;
*
* \ingroup GUI
*/
-class Window : public gcn::Window, gcn::WidgetListener
+class Window : public gcn::Window, private gcn::WidgetListener
{
public:
/**