[glib/glib-2-42] properties: disable default deprecation warnings
- From: Ryan Lortie <desrt src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [glib/glib-2-42] properties: disable default deprecation warnings
- Date: Thu, 25 Sep 2014 21:20:21 +0000 (UTC)
commit b12bd1c3dcfbb398d2462dcf584a1f6d5173ca9a
Author: Ryan Lortie <desrt desrt ca>
Date: Thu Sep 25 17:18:22 2014 -0400
properties: disable default deprecation warnings
Disable the deprecation warnings on GObject properties by default. This
change is only being made on the stable branch, and maybe only for this
one stable series -- the warnings will remain enabled by default on the
unstable releases.
gobject/gobject.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/gobject/gobject.c b/gobject/gobject.c
index cd00244..b013c12 100644
--- a/gobject/gobject.c
+++ b/gobject/gobject.c
@@ -1311,7 +1311,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]