trivial: Fix compile with AppStreamGlib git master

This commit is contained in:
Richard Hughes 2015-08-04 14:44:37 +01:00
parent c6ff8fa574
commit e00d70dabe

View File

@ -669,7 +669,10 @@ fu_main_daemon_update_metadata (FuMainPrivate *priv, gint fd, gint fd_sig, GErro
/* merge in the new contents */
g_debug ("Store was %i size", as_store_get_size (store));
if (!as_store_from_xml (store,
g_bytes_get_data (bytes, NULL), -1,
g_bytes_get_data (bytes, NULL),
#if !AS_CHECK_VERSION(0,5,0)
-1,
#endif
NULL, error))
return FALSE;
g_debug ("Store now %i size", as_store_get_size (store));