summaryrefslogtreecommitdiff
path: root/lib/ephy-string.h
diff options
context:
space:
mode:
authorChristian Persch <chpe@cvs.gnome.org>2003-12-13 22:29:00 +0000
committerChristian Persch <chpe@src.gnome.org>2003-12-13 22:29:00 +0000
commitc7fa7407b02c593b79492a2c57369af10032ec0d (patch)
treeff6d06c79053b7e2399ca5fc104fbc59a30a3de9 /lib/ephy-string.h
parent0dfeadba7950238d8f31b8a7fd1135e014d133b3 (diff)
downloadepiphany-c7fa7407b02c593b79492a2c57369af10032ec0d.tar.gz
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.h9
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);