util/Error: new error passing library
Replaces GLib's GError.
This commit is contained in:
@@ -42,8 +42,7 @@
|
||||
#ifndef MPD_STICKER_DATABASE_HXX
|
||||
#define MPD_STICKER_DATABASE_HXX
|
||||
|
||||
#include "gerror.h"
|
||||
|
||||
class Error;
|
||||
class Path;
|
||||
struct sticker;
|
||||
|
||||
@@ -55,7 +54,7 @@ struct sticker;
|
||||
* @return true on success, false on error
|
||||
*/
|
||||
bool
|
||||
sticker_global_init(Path &&path, GError **error_r);
|
||||
sticker_global_init(Path &&path, Error &error);
|
||||
|
||||
/**
|
||||
* Close the sticker database.
|
||||
|
||||
Reference in New Issue
Block a user