summaryrefslogtreecommitdiff
path: root/src/screen.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/screen.cpp')
-rw-r--r--src/screen.cpp11
1 files changed, 2 insertions, 9 deletions
diff --git a/src/screen.cpp b/src/screen.cpp
index e4c0f07..9090ddb 100644
--- a/src/screen.cpp
+++ b/src/screen.cpp
@@ -625,13 +625,6 @@ CompScreen::dpy ()
return priv->dpy;
}
-CompOption *
-CompScreen::getOption (const char *name)
-{
- CompOption *o = CompOption::findOption (priv->opt, name);
- return o;
-}
-
bool
CompScreen::XRandr ()
{
@@ -744,13 +737,13 @@ PrivateScreen::handlePingTimeout ()
}
CompOption::Vector &
-CompScreen::getOptions ()
+CompScreen::getOptions () const
{
return priv->opt;
}
bool
-CompScreen::setOption (const char *name,
+CompScreen::setOption (const CompString &name,
CompOption::Value &value)
{
CompOption *o;