* cleanup mu_msg_str_prio

This commit is contained in:
Dirk-Jan C. Binnema
2009-12-09 00:03:53 +02:00
parent e14703b58e
commit 0dc999ffb2

View File

@ -75,12 +75,20 @@ const char*
mu_msg_str_prio (MuMsgPriority prio) mu_msg_str_prio (MuMsgPriority prio)
{ {
switch (prio) { switch (prio) {
case MU_MSG_PRIORITY_LOW: return "low";
case MU_MSG_PRIORITY_NORMAL: return "normal"; case MU_MSG_PRIORITY_LOW:
case MU_MSG_PRIORITY_HIGH: return "high"; return "low";
case MU_MSG_PRIORITY_NONE:
case MU_MSG_PRIORITY_NORMAL:
return "normal";
case MU_MSG_PRIORITY_HIGH:
return "high";
default: default:
g_warning ("%s: invalid priority %d", __FUNCTION__, prio); g_warning ("%s: invalid priority %d", __FUNCTION__, prio);
return "Err"; return "<error>";
} }
} }