[gtk+] notification test: Always disable runtime deprecation warnings



commit 6119f664015693a8c5c88a90b7836dc4f16eb354
Author: Matthias Clasen <mclasen redhat com>
Date:   Sat Jun 28 10:59:41 2014 -0400

    notification test: Always disable runtime deprecation warnings
    
    These are just not useful in a test that generically deals with
    all properties.

 testsuite/gtk/notify.c |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)
---
diff --git a/testsuite/gtk/notify.c b/testsuite/gtk/notify.c
index 0b963a5..031ec7d 100644
--- a/testsuite/gtk/notify.c
+++ b/testsuite/gtk/notify.c
@@ -645,6 +645,7 @@ main (int argc, char **argv)
   /* These must be set before before gtk_test_init */
   g_setenv ("GIO_USE_VFS", "local", TRUE);
   g_setenv ("GSETTINGS_BACKEND", "memory", TRUE);
+  g_setenv ("G_ENABLE_DIAGNOSTIC", "0", TRUE);
 
   gtk_test_init (&argc, &argv);
   gtk_test_register_all_types();


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