[glib] Disable deprecation warnings for the stable release again



commit 3bd1618ea955f950f87bc4e452029c5f0cea35aa
Author: Matthias Clasen <mclasen redhat com>
Date:   Mon Sep 14 18:42:12 2015 -0400

    Disable deprecation warnings for the stable release again
    
    Keeping these enabled causes too many people to file
    bugs against gobject, and not enough people to send
    patches to port away from deprecated properties.

 gobject/gobject.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/gobject/gobject.c b/gobject/gobject.c
index 3a0d008..a3c0875 100644
--- a/gobject/gobject.c
+++ b/gobject/gobject.c
@@ -1316,7 +1316,7 @@ consider_issuing_property_deprecation_warning (const GParamSpec *pspec)
       const gchar *value = g_getenv ("G_ENABLE_DIAGNOSTIC");
 
       if (!value)
-        value = "-";
+        value = "0";
 
       g_once_init_leave (&enable_diagnostic, value);
     }


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