diff options
author | Richard Hughes <richard@hughsie.com> | 2013-01-03 21:35:38 +0000 |
---|---|---|
committer | Richard Hughes <richard@hughsie.com> | 2013-01-03 22:09:04 +0000 |
commit | b45001d8ea25da93ef1d885d31cd3e8931d81869 (patch) | |
tree | 6da29fc8907d97891393d03bd5a7991097a6dd1c /client | |
parent | 43ad438c7ff4e071e696f49c6062463ab9257420 (diff) | |
download | colord-b45001d8ea25da93ef1d885d31cd3e8931d81869.tar.gz |
Ensure the color types are methods in GObject Introspection rather than functions
Many symbols are not named what GObject Introspection expects them to be so
we end up with a lot of functions in the global namespace instead of methods
e.g. "Cd.color_clear_xyz" instead of "Cd.ColorXYZ.clear".
There is no way to resolve this using annotations alone so the only way is to
create the symbols G-I expects. Ship a cd-deprecated.h header so we do not
break API or ABI. We'll remove this whenever we bump the soname next.
Based on a patch by Evan Nemerson <evan@coeus-group.com>, many thanks.
Diffstat (limited to 'client')
-rw-r--r-- | client/Makefile.am | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/client/Makefile.am b/client/Makefile.am index 769398d..4f0b2f8 100644 --- a/client/Makefile.am +++ b/client/Makefile.am @@ -5,6 +5,7 @@ INCLUDES = \ -I$(top_srcdir)/libcolord \ -DG_LOG_DOMAIN=\"Cd\" \ -DCD_COMPILATION \ + -DCD_DISABLE_DEPRECATED \ -DLIBEXECDIR=\"$(libexecdir)\" \ -DDATADIR=\"$(datadir)\" \ -DSYSCONFDIR=\""$(sysconfdir)"\" \ |