From 125af448fcea95dddd201d4e8d152d95a54bbaf8 Mon Sep 17 00:00:00 2001 From: Richard Hughes Date: Tue, 16 Jun 2015 16:20:16 +0100 Subject: Allow getting an application from the store with an old desktop ID This is currently a harcoded table; I think this is the best we can do. --- libappstream-glib/as-store.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'libappstream-glib/as-store.h') diff --git a/libappstream-glib/as-store.h b/libappstream-glib/as-store.h index ba19fc3..5b4ec0d 100644 --- a/libappstream-glib/as-store.h +++ b/libappstream-glib/as-store.h @@ -148,6 +148,8 @@ GPtrArray *as_store_get_apps_by_metadata (AsStore *store, const gchar *value); AsApp *as_store_get_app_by_id (AsStore *store, const gchar *id); +AsApp *as_store_get_app_by_id_with_fallbacks (AsStore *store, + const gchar *id); AsApp *as_store_get_app_by_pkgname (AsStore *store, const gchar *pkgname); void as_store_add_app (AsStore *store, -- cgit v1.2.1