summaryrefslogtreecommitdiff
path: root/libappstream-glib/as-app-inf.c
diff options
context:
space:
mode:
authorRichard Hughes <richard@hughsie.com>2016-02-25 20:38:29 +0000
committerRichard Hughes <richard@hughsie.com>2016-02-25 20:39:04 +0000
commitdb239198f49842d03bde09340ac8442ccbcb7da0 (patch)
tree6685c5c65d4e387d7f20c0a68b44339bc136a6ea /libappstream-glib/as-app-inf.c
parentd9953c52cd15fe92d8178a87de7be6a6a132f6bd (diff)
downloadappstream-glib-db239198f49842d03bde09340ac8442ccbcb7da0.tar.gz
Rename a symbol to reflect reality
This has not been an ID kind since spec version 0.5, and it's confusing to have two things in GNOME Software. The old symbols and enumerated types are left to maintain ABI compatibility.
Diffstat (limited to 'libappstream-glib/as-app-inf.c')
-rw-r--r--libappstream-glib/as-app-inf.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libappstream-glib/as-app-inf.c b/libappstream-glib/as-app-inf.c
index 3aa98ee..134a043 100644
--- a/libappstream-glib/as-app-inf.c
+++ b/libappstream-glib/as-app-inf.c
@@ -108,7 +108,7 @@ as_app_parse_inf_file (AsApp *app,
"Driver class is '%s', not 'Firmware'", class);
return FALSE;
}
- as_app_set_id_kind (app, AS_ID_KIND_FIRMWARE);
+ as_app_set_kind (app, AS_APP_KIND_FIRMWARE);
/* get the Class GUID */
class_guid_unsafe = g_key_file_get_string (kf, "Version", "ClassGuid", NULL);