diff options
author | Dirk Hohndel <dirk@hohndel.org> | 2015-11-18 18:52:44 -0800 |
---|---|---|
committer | Dirk Hohndel <dirk@hohndel.org> | 2015-11-18 18:52:44 -0800 |
commit | ff5bd062f67e36a3eb20013e40e4e54822b446bf (patch) | |
tree | 90b880c60ffa729234d024a8588251a04b9abe7e /subsurface-core | |
parent | 456cc3955a3e343ea1d2303484d5c79b44635155 (diff) | |
download | subsurface-ff5bd062f67e36a3eb20013e40e4e54822b446bf.tar.gz |
Location service: instantiate location provider in the desktop UI
We still aren't doing anything with it, but at least it's there now.
Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
Diffstat (limited to 'subsurface-core')
-rw-r--r-- | subsurface-core/dive.h | 1 | ||||
-rw-r--r-- | subsurface-core/save-git.c | 5 |
2 files changed, 6 insertions, 0 deletions
diff --git a/subsurface-core/dive.h b/subsurface-core/dive.h index cef1106fd..3ff262e96 100644 --- a/subsurface-core/dive.h +++ b/subsurface-core/dive.h @@ -637,6 +637,7 @@ extern "C" { #endif extern int report_error(const char *fmt, ...); +extern void report_message(const char *msg); extern const char *get_error_string(void); extern struct dive *find_dive_including(timestamp_t when); diff --git a/subsurface-core/save-git.c b/subsurface-core/save-git.c index 69ad0726d..d3601a272 100644 --- a/subsurface-core/save-git.c +++ b/subsurface-core/save-git.c @@ -445,6 +445,11 @@ int report_error(const char *fmt, ...) return -1; } +void report_message(const char *msg) +{ + (void)report_error("%s", msg); +} + /* * libgit2 has a "git_treebuilder" concept, but it's broken, and can not * be used to do a flat tree (like the git "index") nor a recursive tree. |