[file-roller/wip/jtojnar/engrampa-backports: 18/24] glib-utils: _g_str_escape_full should be static
- From: Jan Tojnar <jtojnar src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [file-roller/wip/jtojnar/engrampa-backports: 18/24] glib-utils: _g_str_escape_full should be static
- Date: Wed, 27 Jul 2022 19:54:33 +0000 (UTC)
commit f6e17e7d8da323ae25daf0d59f8600d3b93b6553
Author: rbuj <robert buj gmail com>
Date: Mon Oct 25 13:59:02 2021 +0200
glib-utils: _g_str_escape_full should be static
Cherry-picked from
https://github.com/mate-desktop/engrampa/commit/91cc381e3d2c72001c30c1966ed062a3a1f601d5
src/glib-utils.c | 2 +-
src/glib-utils.h | 4 ----
2 files changed, 1 insertion(+), 5 deletions(-)
---
diff --git a/src/glib-utils.c b/src/glib-utils.c
index c46a7da8..ac077fcc 100644
--- a/src/glib-utils.c
+++ b/src/glib-utils.c
@@ -202,7 +202,7 @@ count_chars_to_escape (const char *str,
}
-char *
+static char *
_g_str_escape_full (const char *str,
const char *meta_chars,
const char prefix,
diff --git a/src/glib-utils.h b/src/glib-utils.h
index e4723959..dfb8574b 100644
--- a/src/glib-utils.h
+++ b/src/glib-utils.h
@@ -73,10 +73,6 @@ char * _g_str_substitute (const char *str,
const char *to_str);
gboolean _g_str_equal (const char *s1,
const char *s2);
-char* _g_str_escape_full (const char *str,
- const char *meta_chars,
- const char prefix,
- const char postfix);
char* _g_str_escape (const char *str,
const char *meta_chars);
char * _g_str_shell_escape (const char *filename);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]