From e34c19e12865e8c80e6aadc6356d325db934a087 Mon Sep 17 00:00:00 2001 From: Geert Janssens Date: Wed, 16 Jun 2010 08:46:31 +0000 Subject: [PATCH] Use enum value QOF_LOG_MESSAGE (newly defined in r19257) instead of the generic G_LOG_LEVEL_MESSAGE git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@19261 57a11ea4-9604-0410-9ed3-97b8803252fd --- src/libqof/qof/qoflog.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/libqof/qof/qoflog.c b/src/libqof/qof/qoflog.c index 7680083706..4e84e47993 100644 --- a/src/libqof/qof/qoflog.c +++ b/src/libqof/qof/qoflog.c @@ -442,7 +442,7 @@ qof_log_level_from_string(const gchar *str) if (g_ascii_strncasecmp("error", str, 5) == 0) return QOF_LOG_FATAL; if (g_ascii_strncasecmp("crit", str, 4) == 0) return QOF_LOG_ERROR; if (g_ascii_strncasecmp("warn", str, 4) == 0) return QOF_LOG_WARNING; - if (g_ascii_strncasecmp("mess", str, 4) == 0) return G_LOG_LEVEL_MESSAGE; + if (g_ascii_strncasecmp("mess", str, 4) == 0) return QOF_LOG_MESSAGE; if (g_ascii_strncasecmp("info", str, 4) == 0) return QOF_LOG_INFO; if (g_ascii_strncasecmp("debug", str, 5) == 0) return QOF_LOG_DEBUG; return QOF_LOG_DEBUG;