diff options
author | David Reveman <davidr@novell.com> | 2007-08-29 12:30:27 +0200 |
---|---|---|
committer | David Reveman <davidr@novell.com> | 2007-08-29 12:30:27 +0200 |
commit | c51eb6ea16066cbb3b9d0f40cfd1b54bd653945f (patch) | |
tree | 37d53c855ffcd50a50e68d2a59ba39b7be9804fd /src/option.c | |
parent | ff9473c0abc433a9896a03c91bab29dd715d7a64 (diff) |
Split compiz.h into compiz.h and compiz-core.h.
Move all structures and most functions from compiz.h to
compiz-core.h. compiz.h provides an API that is stable
across releases with the same minor version number. It can
be used to create plugins that will run across multiple
core ABI versions. compiz-core.h contains all structures and
hooks used by the core. A plugin that includes compiz-core.h
is responsible for checking the core ABI version when being
initialized.
Remove deprecated function:
compWindowTypeMaskFromStringList
Diffstat (limited to 'src/option.c')
-rw-r--r-- | src/option.c | 14 |
1 files changed, 1 insertions, 13 deletions
diff --git a/src/option.c b/src/option.c index 729b3771..2f7b8fbf 100644 --- a/src/option.c +++ b/src/option.c @@ -29,7 +29,7 @@ #include <ctype.h> #include <math.h> -#include <compiz.h> +#include <compiz-core.h> struct _Modifier { char *name; @@ -424,18 +424,6 @@ compSetOption (CompOption *option, return FALSE; } -unsigned int -compWindowTypeMaskFromStringList (CompOptionValue *value) -{ - int i; - unsigned int mask = 0; - - for (i = 0; i < value->list.nValue; i++) - mask |= windowTypeFromString (value->list.value[i].s); - - return mask; -} - Bool getBoolOptionNamed (CompOption *option, int nOption, |