diff options
author | Richard Hughes <richard@hughsie.com> | 2016-08-22 14:12:14 +0100 |
---|---|---|
committer | Richard Hughes <richard@hughsie.com> | 2016-08-22 14:19:12 +0100 |
commit | e83da4ad01e6eaa50b45124706ef9f6b31bcd071 (patch) | |
tree | 27cc8aa655510e9a945b8df776f5827db7eedec8 /libappstream-glib/as-inf.h | |
parent | 47bdeafc778ed1d83bef46ce50963c5513a6cd2d (diff) | |
download | appstream-glib-e83da4ad01e6eaa50b45124706ef9f6b31bcd071.tar.gz |
Remove the inf parsing from appstream-glib
I don't want to maintain this large chunk of complex code in the main library,
especially as it's basically unused except for the validation of .cab files.
The latter has a python implmentation as used on the LVFS, so it's really just
dead code now.
Move the (unused) implementation to libginf for archival, but leave stubs in to
avoid upsetting the API/ABI checkers. We can remove the symbols when we next
break soname.
Diffstat (limited to 'libappstream-glib/as-inf.h')
-rw-r--r-- | libappstream-glib/as-inf.h | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/libappstream-glib/as-inf.h b/libappstream-glib/as-inf.h index 2ebfd98..ba99184 100644 --- a/libappstream-glib/as-inf.h +++ b/libappstream-glib/as-inf.h @@ -68,14 +68,17 @@ GQuark as_inf_error_quark (void); gboolean as_inf_load_data (GKeyFile *keyfile, const gchar *data, AsInfLoadFlags flags, - GError **error); + GError **error) +G_DEPRECATED; gboolean as_inf_load_file (GKeyFile *keyfile, const gchar *filename, AsInfLoadFlags flags, - GError **error); + GError **error) +G_DEPRECATED; gchar *as_inf_get_driver_version (GKeyFile *keyfile, guint64 *timestamp, - GError **error); + GError **error) +G_DEPRECATED; G_END_DECLS |