diff options
author | Denis Krjuchkov <denis@crazydev.net> | 2013-01-27 13:26:17 +0600 |
---|---|---|
committer | Denis Krjuchkov <denis@crazydev.net> | 2013-01-28 00:13:46 +0600 |
commit | e98e2a0b07363132707146f571d3411e3e1b8076 (patch) | |
tree | ce4653efde5670ca2a151e2888114ac9c0423fe4 /src/Mapper.hxx | |
parent | 943064bb5148884339ccaf60e276191bc4d9abd9 (diff) | |
download | mpd-e98e2a0b07363132707146f571d3411e3e1b8076.tar.gz mpd-e98e2a0b07363132707146f571d3411e3e1b8076.tar.xz mpd-e98e2a0b07363132707146f571d3411e3e1b8076.zip |
Path::FromUTF8() returns nulled instance on error, add error handling where required
Diffstat (limited to 'src/Mapper.hxx')
-rw-r--r-- | src/Mapper.hxx | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/Mapper.hxx b/src/Mapper.hxx index c01db759a..af6c84cc8 100644 --- a/src/Mapper.hxx +++ b/src/Mapper.hxx @@ -33,7 +33,8 @@ class Path; struct Directory; struct song; -void mapper_init(const char *_music_dir, const char *_playlist_dir); +bool mapper_init(const char *_music_dir, const char *_playlist_dir, + GError **error_r); void mapper_finish(void); |