diff options
| author | Jon A. Cruz <jon@joncruz.org> | 2015-05-06 08:48:53 +0000 |
|---|---|---|
| committer | Jon A. Cruz <jon@joncruz.org> | 2015-05-06 08:48:53 +0000 |
| commit | 6957740e11e8604b8439c3ef331cf3c44400d1fb (patch) | |
| tree | 3b49e46aae35f6ef12ab9bc6575f02c072e25a2b /src | |
| parent | show filter usage count (diff) | |
| download | inkscape-6957740e11e8604b8439c3ef331cf3c44400d1fb.tar.gz inkscape-6957740e11e8604b8439c3ef331cf3c44400d1fb.zip | |
Changed return type to be consistent with other calls and to make header stand-alone.
(bzr r14112)
Diffstat (limited to 'src')
| -rw-r--r-- | src/dir-util.cpp | 2 | ||||
| -rw-r--r-- | src/dir-util.h | 4 |
2 files changed, 3 insertions, 3 deletions
diff --git a/src/dir-util.cpp b/src/dir-util.cpp index c9b88b007..64f7ab7e7 100644 --- a/src/dir-util.cpp +++ b/src/dir-util.cpp @@ -217,7 +217,7 @@ erange: return (NULL); } -gchar *prepend_current_dir_if_relative(gchar const *uri) +char *prepend_current_dir_if_relative(gchar const *uri) { if (!uri) { return NULL; diff --git a/src/dir-util.h b/src/dir-util.h index e78cad6a6..327e1ad5f 100644 --- a/src/dir-util.h +++ b/src/dir-util.h @@ -12,7 +12,7 @@ #include <cstdlib> #include <string> -/** +/** * Returns a form of \a path relative to \a base if that is easy to construct (eg if \a path * appears to be in the directory specified by \a base), otherwise returns \a path. * @@ -49,7 +49,7 @@ char *inkscape_rel2abs(char const *path, char const *base, char *result, size_t char *inkscape_abs2rel(char const *path, char const *base, char *result, size_t const size); -gchar *prepend_current_dir_if_relative(char const *filename); +char *prepend_current_dir_if_relative(char const *filename); #endif // !SEEN_DIR_UTIL_H |
