aboutsummaryrefslogtreecommitdiffstats
path: root/src/lib/gamma-quartz-cg.c
diff options
context:
space:
mode:
authorMattias Andrée <maandree@operamail.com>2015-05-08 16:29:18 +0200
committerMattias Andrée <maandree@operamail.com>2015-05-08 16:29:18 +0200
commitd939dd05e1fad24820bcee4142a5fca482dbbfb7 (patch)
tree2447df3fba8d1ae97c0152bd784fe9d0c0f1ab5b /src/lib/gamma-quartz-cg.c
parentupdate todo (diff)
downloadlibgamma-d939dd05e1fad24820bcee4142a5fca482dbbfb7.tar.gz
libgamma-d939dd05e1fad24820bcee4142a5fca482dbbfb7.tar.bz2
libgamma-d939dd05e1fad24820bcee4142a5fca482dbbfb7.tar.xz
add auto_restore to method caps
Signed-off-by: Mattias Andrée <maandree@operamail.com>
Diffstat (limited to 'src/lib/gamma-quartz-cg.c')
-rw-r--r--src/lib/gamma-quartz-cg.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/lib/gamma-quartz-cg.c b/src/lib/gamma-quartz-cg.c
index 7f6904a..d509ce8 100644
--- a/src/lib/gamma-quartz-cg.c
+++ b/src/lib/gamma-quartz-cg.c
@@ -77,6 +77,8 @@ void libgamma_quartz_cg_method_capabilities(libgamma_method_capabilities_t* rest
this->fake = 0;
this->real = 1;
#endif
+ /* Gamma ramp adjustments are non-persistent. */
+ this->auto_restore = 1;
}