selection: Disable deprecation warnings

We are using a lot of deprecated API, and we know it.

Since the selection code is going to be replaced in GTK 4.0, there's no
real point in keeping the warnings enabled in 3.22.
This commit is contained in:
Emmanuele Bassi 2018-02-11 15:37:22 +00:00
parent 3067fb8c24
commit 81c0e7af0e

View File

@ -75,6 +75,9 @@
* associated information.
*/
/* We are using deprecated API, here, and we know that */
#define GDK_DISABLE_DEPRECATION_WARNINGS
#include "config.h"
#include "gtkselection.h"