summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorScott Moreau <oreaus@gmail.com>2011-05-17 18:31:28 -0600
committerScott Moreau <oreaus@gmail.com>2011-05-17 18:31:28 -0600
commitc10f970038ea684635c062754400b3de3498c6e6 (patch)
tree521998f194cd6e8da21a6b200e4abc9e938771ad
parentbb2650d375453020f20f8fd0c8ed1e12e9fb1984 (diff)
downloadneg-c10f970038ea684635c062754400b3de3498c6e6.tar.gz
neg-c10f970038ea684635c062754400b3de3498c6e6.tar.bz2
Remove unused function.
-rw-r--r--src/neg.cpp15
-rw-r--r--src/neg.h3
2 files changed, 0 insertions, 18 deletions
diff --git a/src/neg.cpp b/src/neg.cpp
index 2f95181..835073a 100644
--- a/src/neg.cpp
+++ b/src/neg.cpp
@@ -47,21 +47,6 @@ NegWindow::toggle ()
gWindow->glDrawTextureSetEnabled (this, false);
}
-void
-NegScreen::ToggleScreen ()
-{
- /* toggle screen negative flag */
- isNeg = !isNeg;
-
- /* toggle every window */
- foreach (CompWindow *w, screen->windows ())
- {
- NEG_WINDOW (w);
-
- nw->toggle ();
- }
-}
-
bool
NegScreen::toggle (CompAction *action,
CompAction::State state,
diff --git a/src/neg.h b/src/neg.h
index b25f2fc..9dabaab 100644
--- a/src/neg.h
+++ b/src/neg.h
@@ -57,9 +57,6 @@ class NegScreen :
CompOption::Vector opt,
bool all);
- void
- ToggleScreen ();
-
int
getFragmentFunction (GLTexture *texture,
bool alpha);