diff options
author | David Reveman <davidr@novell.com> | 2007-08-15 15:29:38 -0400 |
---|---|---|
committer | David Reveman <davidr@novell.com> | 2007-08-15 15:29:38 -0400 |
commit | aa6bc77638a4c1f7b7b4f4e2e8e9aabc716fda65 (patch) | |
tree | 71a0fdbbed4c53c3b2bde9fa9d32df33d43b79ba | |
parent | e1efee11266cd4f336651ccc8ffc70e9beedae37 (diff) |
Fix optionTypeToString prototype.
-rw-r--r-- | include/compiz.h | 2 | ||||
-rw-r--r-- | src/option.c | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/include/compiz.h b/include/compiz.h index a5913e34..9ac7540f 100644 --- a/include/compiz.h +++ b/include/compiz.h @@ -551,7 +551,7 @@ stringToColor (const char *color, char * colorToString (unsigned short *rgba); -char * +const char * optionTypeToString (CompOptionType type); Bool diff --git a/src/option.c b/src/option.c index 004441c9..729b3771 100644 --- a/src/option.c +++ b/src/option.c @@ -926,7 +926,7 @@ colorToString (unsigned short *rgba) return strdup (tmp); } -char * +const char * optionTypeToString (CompOptionType type) { switch (type) { |