summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSam Spilsbury <smspillaz@gmail.com>2010-07-01 13:49:38 +0800
committerSam Spilsbury <smspillaz@gmail.com>2010-07-01 13:49:38 +0800
commit1e76a18311b13953ac2e0b16fcf02099670d5772 (patch)
tree7cbd30a154626de3bef3ba2ba344565baf7f9d63
parent281fe3b444e508851841d4baa867853b4f7aeb41 (diff)
downloadaddhelper-1e76a18311b13953ac2e0b16fcf02099670d5772.tar.gz
addhelper-1e76a18311b13953ac2e0b16fcf02099670d5772.tar.bz2
Simplyfiy serialization interface
-rw-r--r--src/addhelper.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/addhelper.cpp b/src/addhelper.cpp
index 2312e8f..6b39f02 100644
--- a/src/addhelper.cpp
+++ b/src/addhelper.cpp
@@ -200,7 +200,7 @@ AddWindow::postLoad ()
AddWindow::AddWindow (CompWindow *window) :
PluginClassHandler <AddWindow, CompWindow> (window),
- PluginStateWriter <AddWindow> (this, "ADDHELPER", window->id ()),
+ PluginStateWriter <AddWindow> (this, window->id ()),
window (window),
cWindow (CompositeWindow::get (window)),
gWindow (GLWindow::get (window)),
@@ -233,7 +233,7 @@ AddScreen::postLoad ()
AddScreen::AddScreen (CompScreen *screen) :
PluginClassHandler <AddScreen, CompScreen> (screen),
- PluginStateWriter <AddScreen> (this, "ADDHELPER", screen->root ()),
+ PluginStateWriter <AddScreen> (this, screen->root ()),
cScreen (CompositeScreen::get (screen)),
opacity ((optionGetOpacity () * 0xffff) / 100),
brightness ((optionGetBrightness () * 0xffff) / 100),