summaryrefslogtreecommitdiff
path: root/include/compiz.h
diff options
context:
space:
mode:
authorDavid Reveman <davidr@novell.com>2007-08-27 19:27:40 -0400
committerDavid Reveman <davidr@novell.com>2007-08-27 19:27:40 -0400
commitd04e36ab440480db1187de73fc06b7b1cd0bbb10 (patch)
tree0ca4a23e3ff72a40de91f0dd782ab5b0a9e9d545 /include/compiz.h
parentd0ad992d4f8b9df5670911de8fb4e2959fe6099e (diff)
downloadcompiz-core-doc-d04e36ab440480db1187de73fc06b7b1cd0bbb10.tar.gz
compiz-core-doc-d04e36ab440480db1187de73fc06b7b1cd0bbb10.tar.bz2
Remove getDisplayOptions and setDisplayOption functions.
Diffstat (limited to 'include/compiz.h')
-rw-r--r--include/compiz.h17
1 files changed, 7 insertions, 10 deletions
diff --git a/include/compiz.h b/include/compiz.h
index 05c9f21..9aeac57 100644
--- a/include/compiz.h
+++ b/include/compiz.h
@@ -626,13 +626,6 @@ typedef int CompFileWatchHandle;
#define COMP_DISPLAY_OPTION_PING_DELAY 59
#define COMP_DISPLAY_OPTION_NUM 60
-typedef CompOption *(*GetDisplayOptionsProc) (CompDisplay *display,
- int *count);
-
-typedef Bool (*SetDisplayOptionProc) (CompDisplay *display,
- const char *name,
- CompOptionValue *value);
-
typedef CompOption *(*GetPluginDisplayOptionsProc) (CompPlugin *plugin,
CompDisplay *display,
int *count);
@@ -950,7 +943,6 @@ struct _CompDisplay {
CompFileWatch *fileWatch;
- SetDisplayOptionProc setDisplayOption;
SetDisplayOptionForPluginProc setDisplayOptionForPlugin;
InitPluginForDisplayProc initPluginForDisplay;
@@ -984,8 +976,13 @@ void
freeDisplayPrivateIndex (int index);
CompOption *
-compGetDisplayOptions (CompDisplay *display,
- int *count);
+getDisplayOptions (CompDisplay *display,
+ int *count);
+
+Bool
+setDisplayOption (CompDisplay *display,
+ const char *name,
+ CompOptionValue *value);
CompTimeoutHandle
compAddTimeout (int time,