diff options
author | Emmanuele Bassi <ebassi@gnome.org> | 2023-01-30 14:32:55 +0000 |
---|---|---|
committer | Emmanuele Bassi <ebassi@gnome.org> | 2023-02-02 08:37:28 +0100 |
commit | e29ede58d3161f46b0cde57c36709c7bc18502a0 (patch) | |
tree | 99280b8825e9a3a2902715f3389ecf438b5a6bff /perf | |
parent | 2be68fb4e001608c3c0d19d9f98b831f109bbc5a (diff) | |
download | cairo-e29ede58d3161f46b0cde57c36709c7bc18502a0.tar.gz |
perf: Disable deprecation warnings for the perf widget
We're using an EOL version of GTK; we know we are using deprecated API.
Until somebody shows up with a replacement, or until we drop the perf
widget, we should avoid unnecessary compiler warnings.
Diffstat (limited to 'perf')
-rw-r--r-- | perf/cairo-perf-graph-files.c | 2 | ||||
-rw-r--r-- | perf/cairo-perf-graph-widget.c | 2 |
2 files changed, 4 insertions, 0 deletions
diff --git a/perf/cairo-perf-graph-files.c b/perf/cairo-perf-graph-files.c index ef98da973..9a2a325e6 100644 --- a/perf/cairo-perf-graph-files.c +++ b/perf/cairo-perf-graph-files.c @@ -25,6 +25,8 @@ * Authors: Chris Wilson <chris@chris-wilson.co.uk> */ +#define GLIB_DISABLE_DEPRECATION_WARNINGS + #include "cairo-perf.h" #include "cairo-perf-graph.h" diff --git a/perf/cairo-perf-graph-widget.c b/perf/cairo-perf-graph-widget.c index e56eee1bc..9da0abbfe 100644 --- a/perf/cairo-perf-graph-widget.c +++ b/perf/cairo-perf-graph-widget.c @@ -25,6 +25,8 @@ * Authors: Chris Wilson <chris@chris-wilson.co.uk> */ +#define GLIB_DISABLE_DEPRECATION_WARNINGS + #include "cairo-perf.h" #include "cairo-perf-graph.h" |