[gtk/gtk-3-22] selection: Disable deprecation warnings



commit 81c0e7af0ed73898b2dab0868552927910f008e9
Author: Emmanuele Bassi <ebassi gnome org>
Date:   Sun Feb 11 15:37:22 2018 +0000

    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.

 gtk/gtkselection.c | 3 +++
 1 file changed, 3 insertions(+)
---
diff --git a/gtk/gtkselection.c b/gtk/gtkselection.c
index 0c1f98d756..9842f2dfc3 100644
--- a/gtk/gtkselection.c
+++ b/gtk/gtkselection.c
@@ -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"


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]