r19261 - gnucash/trunk/src/libqof/qof - Use enum value QOF_LOG_MESSAGE (newly defined in r19257) instead of the generic G_LOG_LEVEL_MESSAGE

Geert Janssens gjanssens at code.gnucash.org
Wed Jun 16 04:46:31 EDT 2010


Author: gjanssens
Date: 2010-06-16 04:46:31 -0400 (Wed, 16 Jun 2010)
New Revision: 19261
Trac: http://svn.gnucash.org/trac/changeset/19261

Modified:
   gnucash/trunk/src/libqof/qof/qoflog.c
Log:
Use enum value QOF_LOG_MESSAGE (newly defined in r19257) instead of the generic G_LOG_LEVEL_MESSAGE

Modified: gnucash/trunk/src/libqof/qof/qoflog.c
===================================================================
--- gnucash/trunk/src/libqof/qof/qoflog.c	2010-06-15 22:47:35 UTC (rev 19260)
+++ gnucash/trunk/src/libqof/qof/qoflog.c	2010-06-16 08:46:31 UTC (rev 19261)
@@ -442,7 +442,7 @@
     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;



More information about the gnucash-changes mailing list