summaryrefslogtreecommitdiff
path: root/libappstream-glib/as-stemmer.h
diff options
context:
space:
mode:
authorRichard Hughes <richard@hughsie.com>2017-03-15 16:50:28 +0000
committerRichard Hughes <richard@hughsie.com>2017-03-15 16:51:50 +0000
commit48d22d2a6ee82d013252ff534af6e34913c710c9 (patch)
treec2e86bf6c38cf9839669694dc153829ebb45cea4 /libappstream-glib/as-stemmer.h
parent0320abd7ea10e5576d98fd4bf5f16e43ae22a057 (diff)
downloadappstream-glib-48d22d2a6ee82d013252ff534af6e34913c710c9.tar.gz
Fix compile with -Wdiscarded-qualifiers
Some distros helpfully force this on for some reason.
Diffstat (limited to 'libappstream-glib/as-stemmer.h')
-rw-r--r--libappstream-glib/as-stemmer.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/libappstream-glib/as-stemmer.h b/libappstream-glib/as-stemmer.h
index 1b77e3b..8883d68 100644
--- a/libappstream-glib/as-stemmer.h
+++ b/libappstream-glib/as-stemmer.h
@@ -24,6 +24,8 @@
#include <glib-object.h>
+#include "as-ref-string.h"
+
G_BEGIN_DECLS
#define AS_TYPE_STEMMER (as_stemmer_get_type ())
@@ -31,7 +33,7 @@ G_BEGIN_DECLS
G_DECLARE_FINAL_TYPE (AsStemmer, as_stemmer, AS, STEMMER, GObject)
AsStemmer *as_stemmer_new (void);
-const gchar *as_stemmer_process (AsStemmer *stemmer,
+AsRefString *as_stemmer_process (AsStemmer *stemmer,
const gchar *value);
G_END_DECLS