summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBastien Nocera <hadess@hadess.net>2018-04-23 12:10:29 +0200
committerBastien Nocera <hadess@hadess.net>2018-04-23 12:15:11 +0200
commit553aa73de2c6a5bb221bcd9153c2425cd236c703 (patch)
tree7d273d9520879202c3c271d69306e6357ced6d57
parent009f22a12a5f34269cd925eed4552685997ab6ca (diff)
downloadshared-mime-info-553aa73de2c6a5bb221bcd9153c2425cd236c703.tar.gz
Don't warn with unknown top level type names
Old broken mime-types still lie around, and just won't go away after years. I'd rather like never to hear about things that aren't shared-mime-info bugs, so drop the priority of the logs to Message. Use the "-V" to display those again. https://bugs.freedesktop.org/show_bug.cgi?id=16816
-rw-r--r--update-mime-database.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/update-mime-database.c b/update-mime-database.c
index 881f6a9c..38a1d522 100644
--- a/update-mime-database.c
+++ b/update-mime-database.c
@@ -265,7 +265,7 @@ static Type *get_type(const char *name, GError **error)
return type;
}
- g_warning("Unknown media type in type '%s'", name);
+ g_message("Unknown media type in type '%s'", name);
return type;
}