diff options
author | Dennis Kasprzyk <onestone@compiz-fusion.org> | 2009-03-15 17:08:44 +0100 |
---|---|---|
committer | Dennis kasprzyk <onestone@compiz-fusion.org> | 2009-03-15 17:08:44 +0100 |
commit | 0a706eae7476aed2abd7202f7064550bafbea829 (patch) | |
tree | f8fc0f2d9d8bc437891a25997cf5f2ddb05cb088 /src | |
parent | 29c5b8f0b0b0d5619d15536e2350c9cd876294c6 (diff) | |
download | zcomp-0a706eae7476aed2abd7202f7064550bafbea829.tar.gz zcomp-0a706eae7476aed2abd7202f7064550bafbea829.tar.bz2 |
Removed const from getOptions.
Diffstat (limited to 'src')
-rw-r--r-- | src/option.cpp | 2 | ||||
-rw-r--r-- | src/plugin.cpp | 6 | ||||
-rw-r--r-- | src/screen.cpp | 2 |
3 files changed, 5 insertions, 5 deletions
diff --git a/src/option.cpp b/src/option.cpp index d90fbfc..e5a3870 100644 --- a/src/option.cpp +++ b/src/option.cpp @@ -582,7 +582,7 @@ CompOption::Restriction::operator= (const CompOption::Restriction &rest) } CompOption * -CompOption::Class::getOption (const CompString &name) const +CompOption::Class::getOption (const CompString &name) { CompOption *o = CompOption::findOption (getOptions (), name); return o; diff --git a/src/plugin.cpp b/src/plugin.cpp index fcf27f1..da8f6cd 100644 --- a/src/plugin.cpp +++ b/src/plugin.cpp @@ -50,7 +50,7 @@ class CorePluginVTable : public CompPlugin::VTable CompOption::Vector & getOptions (); - bool setOption (const char *name, + bool setOption (const CompString &name, CompOption::Value &value); }; @@ -79,7 +79,7 @@ CorePluginVTable::getOptions () } bool -CorePluginVTable::setOption (const char *name, +CorePluginVTable::setOption (const CompString &name, CompOption::Value &value) { return screen->setOption (name, value); @@ -686,7 +686,7 @@ CompPlugin::VTable::finiWindow (CompWindow *) } CompOption::Vector & -CompPlugin::VTable::getOptions () const +CompPlugin::VTable::getOptions () { return noOptions; } diff --git a/src/screen.cpp b/src/screen.cpp index 9090ddb..c031346 100644 --- a/src/screen.cpp +++ b/src/screen.cpp @@ -737,7 +737,7 @@ PrivateScreen::handlePingTimeout () } CompOption::Vector & -CompScreen::getOptions () const +CompScreen::getOptions () { return priv->opt; } |