summaryrefslogtreecommitdiff
path: root/libappstream-builder/asb-app.c
diff options
context:
space:
mode:
authorRichard Hughes <richard@hughsie.com>2014-08-22 18:53:22 +0100
committerRichard Hughes <richard@hughsie.com>2014-08-22 19:23:16 +0100
commit208fe0c7bc623b7c1a1513d1dc3cb77f7bef48af (patch)
tree1fd6e21c21b077de699af1b5200106cb247ed06a /libappstream-builder/asb-app.c
parent194ee99b9648a18858ade33f88b3375aab6ae5e4 (diff)
downloadappstream-glib-208fe0c7bc623b7c1a1513d1dc3cb77f7bef48af.tar.gz
Rename as_app_get_id() to as_app_get_id_filename()
This makes the API a little more sane with a better defined return value.
Diffstat (limited to 'libappstream-builder/asb-app.c')
-rw-r--r--libappstream-builder/asb-app.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libappstream-builder/asb-app.c b/libappstream-builder/asb-app.c
index 16a21ff..d0dabc8 100644
--- a/libappstream-builder/asb-app.c
+++ b/libappstream-builder/asb-app.c
@@ -408,7 +408,7 @@ asb_app_add_screenshot_source (AsbApp *app, const gchar *filename, GError **erro
/* include the app-id in the basename */
basename = g_strdup_printf ("%s-%s.png",
- as_app_get_id (AS_APP (app)),
+ as_app_get_id_filename (AS_APP (app)),
as_image_get_md5 (im_src));
as_image_set_basename (im_src, basename);