summaryrefslogtreecommitdiff
path: root/libappstream-glib/as-utils-private.h
diff options
context:
space:
mode:
authorRichard Hughes <richard@hughsie.com>2016-04-13 17:33:50 +0100
committerRichard Hughes <richard@hughsie.com>2016-04-19 13:39:11 +0100
commit0daa0097cb97557f3b1887450490da958b3418f1 (patch)
tree8e6e5b18b09d9301933d3b377adb9ea9de645db0 /libappstream-glib/as-utils-private.h
parentc0081a38f73d3fa11de15431b418a3119999e88d (diff)
downloadappstream-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.h4
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