mirror of
https://gitlab.freedesktop.org/cairo/cairo.git
synced 2025-12-20 04:40:07 +01:00
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:
parent
2be68fb4e0
commit
e29ede58d3
2 changed files with 4 additions and 0 deletions
|
|
@ -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"
|
||||
|
||||
|
|
|
|||
|
|
@ -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"
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue