summaryrefslogtreecommitdiff
path: root/src/glib-utils.h
diff options
context:
space:
mode:
authorraveit65 <[email protected]>2015-10-14 20:23:41 +0200
committerraveit65 <[email protected]>2015-10-14 20:23:41 +0200
commitd905fba84d8a21491c368b7a78cd8a064954ffe7 (patch)
treebc9df1d33151a284a65024dfb41f4c54b0bd153c /src/glib-utils.h
parentef693f552dfb377625f4dc6b739846e3a5312394 (diff)
downloadengrampa-d905fba84d8a21491c368b7a78cd8a064954ffe7.tar.bz2
engrampa-d905fba84d8a21491c368b7a78cd8a064954ffe7.tar.xz
fixed overwrite check when the files to be extracted are inside a folder
author ZenWalker <[email protected]> fixes https://github.com/mate-desktop/engrampa/issues/103
Diffstat (limited to 'src/glib-utils.h')
-rw-r--r--src/glib-utils.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/glib-utils.h b/src/glib-utils.h
index dcc64a5..0c8f88b 100644
--- a/src/glib-utils.h
+++ b/src/glib-utils.h
@@ -81,6 +81,13 @@ char ** _g_strv_prepend (char **str_array,
gboolean _g_strv_remove (char **str_array,
const char *str);
+/* path filename */
+
+const char * _g_path_get_file_name (const char *path);
+const char * _g_path_get_base_name (const char *path,
+ const char *base_dir,
+ gboolean junk_paths);
+
/**/
#ifndef __GNUC__