summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavid Reveman <davidr@novell.com>2007-08-15 15:29:38 -0400
committerDavid Reveman <davidr@novell.com>2007-08-15 15:29:38 -0400
commitaa6bc77638a4c1f7b7b4f4e2e8e9aabc716fda65 (patch)
tree71a0fdbbed4c53c3b2bde9fa9d32df33d43b79ba
parente1efee11266cd4f336651ccc8ffc70e9beedae37 (diff)
Fix optionTypeToString prototype.
-rw-r--r--include/compiz.h2
-rw-r--r--src/option.c2
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) {