diff options
author | Richard Hughes <richard@hughsie.com> | 2016-01-15 15:30:22 +0000 |
---|---|---|
committer | Richard Hughes <richard@hughsie.com> | 2016-01-17 09:10:04 +0000 |
commit | 0395e6656832e61c660e85422a940949a2fa74f8 (patch) | |
tree | 00b62f32b89c947857ebcb0dbd43e3d1bb0ffd00 /libappstream-glib/as-image.h | |
parent | 1b3311c5dee9a2a0ae334ebad25edbdd81832401 (diff) | |
download | appstream-glib-0395e6656832e61c660e85422a940949a2fa74f8.tar.gz |
Make the check for screenshot equality more robust
This avoids us exporting multiple screenshots when reusing metadata.
Diffstat (limited to 'libappstream-glib/as-image.h')
-rw-r--r-- | libappstream-glib/as-image.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/libappstream-glib/as-image.h b/libappstream-glib/as-image.h index 8e14b66..03e7bb5 100644 --- a/libappstream-glib/as-image.h +++ b/libappstream-glib/as-image.h @@ -156,6 +156,8 @@ gboolean as_image_save_filename (AsImage *image, guint height, AsImageSaveFlags flags, GError **error); +gboolean as_image_equal (AsImage *image1, + AsImage *image2); G_END_DECLS |