summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authoriain <iain@sleepfive.com>2012-02-24 12:20:38 +0000
committeriain <iain@sleepfive.com>2012-02-24 12:20:38 +0000
commitcaddbb9e48e0715875631427b02c92fa31d934b6 (patch)
tree6e7a73d1deaf8e6c404c1692cfc9560917fe1e01
parent91754f55dde35a054cd34bcee34f3dd1c06e85c3 (diff)
Disable the deprecation warnings so -Werror won't cry
-rw-r--r--gypsy/gypsy-satellite.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/gypsy/gypsy-satellite.c b/gypsy/gypsy-satellite.c
index b6b7399..64d571b 100644
--- a/gypsy/gypsy-satellite.c
+++ b/gypsy/gypsy-satellite.c
@@ -77,6 +77,10 @@
* </informalexample>
*/
+/* DBus-glib uses GValueArrays which are deprecated, so we need to
+ * disable the warnings so that -Werror doesn't cry */
+#define GLIB_DISABLE_DEPRECATION_WARNINGS 1
+
#include <glib-object.h>
#include <gypsy/gypsy-satellite.h>