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.
This commit is contained in:
Emmanuele Bassi 2023-01-30 14:32:55 +00:00
parent 2be68fb4e0
commit e29ede58d3
2 changed files with 4 additions and 0 deletions

View file

@ -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"

View file

@ -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"