summaryrefslogtreecommitdiff
path: root/libappstream-builder/plugins/asb-plugin-hardcoded.c
diff options
context:
space:
mode:
authorRichard Hughes <richard@hughsie.com>2014-08-22 19:34:21 +0100
committerRichard Hughes <richard@hughsie.com>2014-08-22 19:34:21 +0100
commit69a7fbbf02095af846e30dff3e72e966ad781d90 (patch)
tree483db12544419814f15847f7e6e05d3d49e42e95 /libappstream-builder/plugins/asb-plugin-hardcoded.c
parent208fe0c7bc623b7c1a1513d1dc3cb77f7bef48af (diff)
downloadappstream-glib-69a7fbbf02095af846e30dff3e72e966ad781d90.tar.gz
Rename as_app_get_id_full() to as_app_get_id()
There's no more non-full ID, to better match the AppStream specification.
Diffstat (limited to 'libappstream-builder/plugins/asb-plugin-hardcoded.c')
-rw-r--r--libappstream-builder/plugins/asb-plugin-hardcoded.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libappstream-builder/plugins/asb-plugin-hardcoded.c b/libappstream-builder/plugins/asb-plugin-hardcoded.c
index 194fdab..59c1044 100644
--- a/libappstream-builder/plugins/asb-plugin-hardcoded.c
+++ b/libappstream-builder/plugins/asb-plugin-hardcoded.c
@@ -157,7 +157,7 @@ asb_plugin_process_app (AsbPlugin *plugin,
guint days;
/* add extra categories */
- tmp = as_app_get_id_full (AS_APP (app));
+ tmp = as_app_get_id (AS_APP (app));
if (g_strcmp0 (tmp, "0install.desktop") == 0)
as_app_add_category (AS_APP (app), "System", -1);
if (g_strcmp0 (tmp, "alacarte.desktop") == 0)