aboutsummaryrefslogtreecommitdiff
path: root/src/sticker.h
diff options
context:
space:
mode:
authorMax Kellermann <max@duempel.org>2009-07-05 08:29:47 +0200
committerMax Kellermann <max@duempel.org>2009-07-05 08:29:47 +0200
commit0c2ab17e91637fdc27f7b8dd5578e15a951e1420 (patch)
tree03b31c0b0f7a7e0883832b45de5827709cfbd351 /src/sticker.h
parent12e82b9e33de5c6c8b622560fd7224f4fef113e7 (diff)
sticker: use GError for error handling
Diffstat (limited to 'src/sticker.h')
-rw-r--r--src/sticker.h8
1 files changed, 6 insertions, 2 deletions
diff --git a/src/sticker.h b/src/sticker.h
index 8e641091..30d85fa1 100644
--- a/src/sticker.h
+++ b/src/sticker.h
@@ -50,9 +50,13 @@ struct sticker;
/**
* Opens the sticker database (if path is not NULL).
+ *
+ * @param error_r location to store the error occuring, or NULL to
+ * ignore errors
+ * @return true on success, false on error
*/
-void
-sticker_global_init(const char *path);
+bool
+sticker_global_init(const char *path, GError **error_r);
/**
* Close the sticker database.