summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorVictor Toso <me@victortoso.com>2018-09-03 14:45:05 +0200
committerVictor Toso <me@victortoso.com>2018-10-02 16:29:59 +0200
commit78cbfb75f10df45d42b454957e66e25388497ad2 (patch)
tree9c8ff236f894533c8df73e4628442f28ac876172
parent009372748b1d795c2e8347b745f54cd8c708d955 (diff)
downloadgrilo-78cbfb75f10df45d42b454957e66e25388497ad2.tar.gz
core: Include GType name in log
And add a FIXME to grl_data_add_for_id() as it needs to handle other key types too. Signed-off-by: Victor Toso <victortoso@gnome.org>
-rw-r--r--src/data/grl-data.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/data/grl-data.c b/src/data/grl-data.c
index 27f8229..1c9178a 100644
--- a/src/data/grl-data.c
+++ b/src/data/grl-data.c
@@ -760,7 +760,9 @@ grl_data_add_for_id (GrlData *data, const gchar *key_name, const GValue *value)
break;
default:
- GRL_WARNING ("'%s' is being ignored as G_TYPE is not being handled", key_name);
+ /* FIXME: We should add support to all GType supported by GrlMedia */
+ GRL_WARNING ("'%s' is being ignored as %s type is not being handled",
+ key_name, g_type_name (value_type));
return FALSE;
}