[glib/wip/gcleanup: 54/106] 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: 54/106] gmessages: Initialize GPrivate so it gets cleaned up
- Date: Mon, 11 Nov 2013 07:59:32 +0000 (UTC)
commit ed44f6bcc89e0353e57cc612edbd7640b01cf25d
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]