diff options
author | Richard Hughes <richard@hughsie.com> | 2016-04-13 17:33:50 +0100 |
---|---|---|
committer | Richard Hughes <richard@hughsie.com> | 2016-04-19 13:39:11 +0100 |
commit | 0daa0097cb97557f3b1887450490da958b3418f1 (patch) | |
tree | 8e6e5b18b09d9301933d3b377adb9ea9de645db0 /libappstream-glib/as-utils-private.h | |
parent | c0081a38f73d3fa11de15431b418a3119999e88d (diff) | |
download | appstream-glib-0daa0097cb97557f3b1887450490da958b3418f1.tar.gz |
Add as_screenshot_get_image_for_locale()
The AppStream specification has recently added the ability to have translated
screenshot images. To support this add new methods to restrict the AsImage
selection to compatible locales.
Diffstat (limited to 'libappstream-glib/as-utils-private.h')
-rw-r--r-- | libappstream-glib/as-utils-private.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/libappstream-glib/as-utils-private.h b/libappstream-glib/as-utils-private.h index 19294be..0ea7e5a 100644 --- a/libappstream-glib/as-utils-private.h +++ b/libappstream-glib/as-utils-private.h @@ -1,6 +1,6 @@ /* -*- Mode: C; tab-width: 8; indent-tabs-mode: t; c-basic-offset: 8 -*- * - * Copyright (C) 2014 Richard Hughes <richard@hughsie.com> + * Copyright (C) 2014-2016 Richard Hughes <richard@hughsie.com> * * Licensed under the GNU Lesser General Public License Version 2.1 * @@ -42,6 +42,8 @@ void as_pixbuf_blur (GdkPixbuf *src, gint iterations); const gchar *as_ptr_array_find_string (GPtrArray *array, const gchar *value); +gboolean as_utils_locale_is_compatible (const gchar *locale1, + const gchar *locale2); G_END_DECLS |