Don't print warning for missing comment in config file

Change g_warning to g_debug as suggested by Marc-Andre
This commit is contained in:
Jonathon Jongsma 2014-09-05 11:15:52 -05:00
parent 2561c171e7
commit 75b7ff0fa2

View File

@ -263,7 +263,7 @@ virt_viewer_app_save_config(VirtViewerApp *self)
// with the vm name so user can make sense of it later.
gchar *comment = g_key_file_get_comment(priv->config, priv->uuid, NULL, &error);
if (error) {
g_warning("Unable to get comment from key file: %s", error->message);
g_debug("Unable to get comment from key file: %s", error->message);
g_clear_error(&error);
} else {
if (!comment || *comment == '\0')