aboutsummaryrefslogtreecommitdiff
path: root/src/main.c
diff options
context:
space:
mode:
authorhiro <hiro@ee746299-78ed-0310-b773-934348b2243d>2005-10-12 07:27:46 +0000
committerhiro <hiro@ee746299-78ed-0310-b773-934348b2243d>2005-10-12 07:27:46 +0000
commitada9a8ee0773e165a2b74029aa4856991d07cf96 (patch)
tree3f8bbaad16abedf4ed8f4cd7683e16d8e1ad56be /src/main.c
parent7cc21497c1257b20c5e1818c0cd56bff14b7b7b1 (diff)
fixed prefix on G_LOG_LEVEL_WARNING.
git-svn-id: svn://sylpheed.sraoss.jp/sylpheed/trunk@637 ee746299-78ed-0310-b773-934348b2243d
Diffstat (limited to 'src/main.c')
-rw-r--r--src/main.c6
1 files changed, 5 insertions, 1 deletions
diff --git a/src/main.c b/src/main.c
index cd70da4e..0b3582ca 100644
--- a/src/main.c
+++ b/src/main.c
@@ -644,11 +644,15 @@ static void default_log_func(const gchar *log_domain, GLogLevelFlags log_level,
level = LOG_ERROR;
break;
case G_LOG_LEVEL_CRITICAL:
- case G_LOG_LEVEL_WARNING:
prefix = "CRITICAL";
file_prefix = "** ";
level = LOG_WARN;
break;
+ case G_LOG_LEVEL_WARNING:
+ prefix = "WARNING";
+ file_prefix = "** ";
+ level = LOG_WARN;
+ break;
case G_LOG_LEVEL_MESSAGE:
prefix = "Message";
file_prefix = "* ";