[grilo] core: Include GType name in log



commit 78cbfb75f10df45d42b454957e66e25388497ad2
Author: Victor Toso <me victortoso com>
Date:   Mon Sep 3 14:45:05 2018 +0200

    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>

 src/data/grl-data.c | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)
---
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;
   }
 


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]