[glib/wip/gcleanup: 31/79] gmessages: Initialize GPrivate so it gets cleaned up
- From: Stefan Walter <stefw src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [glib/wip/gcleanup: 31/79] gmessages: Initialize GPrivate so it gets cleaned up
- Date: Sun, 10 Nov 2013 15:22:08 +0000 (UTC)
commit 879534c7efbe9cf244464a4f49c3db05e86d9a1c
Author: Stef Walter <stefw gnome org>
Date: Thu Nov 7 22:39:37 2013 +0100
gmessages: Initialize GPrivate so it gets cleaned up
https://bugzilla.gnome.org/show_bug.cgi?id=711744
glib/gmessages.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/glib/gmessages.c b/glib/gmessages.c
index 26018cd..cd68eac 100644
--- a/glib/gmessages.c
+++ b/glib/gmessages.c
@@ -263,7 +263,7 @@ static GMutex g_messages_lock;
static GLogDomain *g_log_domains = NULL;
static GPrintFunc glib_print_func = NULL;
static GPrintFunc glib_printerr_func = NULL;
-static GPrivate g_log_depth;
+static GPrivate g_log_depth = G_PRIVATE_INIT (NULL);
static gboolean exit_on_fatal;
static GLogFunc default_log_func = g_log_default_handler;
static gpointer default_log_data = NULL;
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]