diff options
Diffstat (limited to '')
-rw-r--r-- | src/StickerDatabase.hxx | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/src/StickerDatabase.hxx b/src/StickerDatabase.hxx index 834d9a703..46a9ba52d 100644 --- a/src/StickerDatabase.hxx +++ b/src/StickerDatabase.hxx @@ -44,6 +44,8 @@ #include "Compiler.h" +#include <string> + class Error; class Path; struct sticker; @@ -72,10 +74,10 @@ bool sticker_enabled(void); /** - * Returns one value from an object's sticker record. The caller must - * free the return value with g_free(). + * Returns one value from an object's sticker record. Returns an + * empty string if the value doesn't exist. */ -char * +std::string sticker_load_value(const char *type, const char *uri, const char *name); /** |