diff options
author | Christian Persch <chpe@cvs.gnome.org> | 2003-12-14 06:29:00 +0800 |
---|---|---|
committer | Christian Persch <chpe@src.gnome.org> | 2003-12-14 06:29:00 +0800 |
commit | c7fa7407b02c593b79492a2c57369af10032ec0d (patch) | |
tree | ff6d06c79053b7e2399ca5fc104fbc59a30a3de9 /lib/ephy-string.h | |
parent | 0dfeadba7950238d8f31b8a7fd1135e014d133b3 (diff) | |
download | gsoc2013-epiphany-c7fa7407b02c593b79492a2c57369af10032ec0d.tar gsoc2013-epiphany-c7fa7407b02c593b79492a2c57369af10032ec0d.tar.gz gsoc2013-epiphany-c7fa7407b02c593b79492a2c57369af10032ec0d.tar.bz2 gsoc2013-epiphany-c7fa7407b02c593b79492a2c57369af10032ec0d.tar.lz gsoc2013-epiphany-c7fa7407b02c593b79492a2c57369af10032ec0d.tar.xz gsoc2013-epiphany-c7fa7407b02c593b79492a2c57369af10032ec0d.tar.zst gsoc2013-epiphany-c7fa7407b02c593b79492a2c57369af10032ec0d.zip |
Convert control chars to blanks.
2003-12-13 Christian Persch <chpe@cvs.gnome.org>
* lib/ephy-string.c: (ephy_string_shorten), (ephy_string_to_int),
(ephy_string_blank_chr), (ephy_string_elide_underscores),
(ephy_string_double_underscores):
* lib/ephy-string.h:
* src/ephy-tab.c: (ephy_tab_set_link_message):
Convert control chars to blanks.
Diffstat (limited to 'lib/ephy-string.h')
-rw-r--r-- | lib/ephy-string.h | 9 |
1 files changed, 4 insertions, 5 deletions
diff --git a/lib/ephy-string.h b/lib/ephy-string.h index 6cfbd892f..f2907219f 100644 --- a/lib/ephy-string.h +++ b/lib/ephy-string.h @@ -28,13 +28,12 @@ G_BEGIN_DECLS gboolean ephy_string_to_int (const char *string, gulong *integer); -char *ephy_string_strip_chr (const char *source, - char remove_this); +char *ephy_string_blank_chr (char *source); -char *ephy_string_shorten (const gchar *str, - gint target_length); +char *ephy_string_shorten (const char *str, + int target_length); -char *ephy_string_elide_underscores (const gchar *original); +char *ephy_string_elide_underscores (const char *original); char *ephy_string_double_underscores (const char *string); |