aboutsummaryrefslogtreecommitdiffstats
path: root/lib/ephy-string.h
diff options
context:
space:
mode:
authorChristian Persch <chpe@cvs.gnome.org>2005-10-11 21:12:36 +0800
committerChristian Persch <chpe@src.gnome.org>2005-10-11 21:12:36 +0800
commitfefc4bfb69cb7a69c87328c132ed8f38142b6a74 (patch)
tree0a7649ac88d928f1695356c048ee015ad6fee948 /lib/ephy-string.h
parent52bea0e3e7e817c1c7a99acc2c75bb9658285a9e (diff)
downloadgsoc2013-epiphany-fefc4bfb69cb7a69c87328c132ed8f38142b6a74.tar
gsoc2013-epiphany-fefc4bfb69cb7a69c87328c132ed8f38142b6a74.tar.gz
gsoc2013-epiphany-fefc4bfb69cb7a69c87328c132ed8f38142b6a74.tar.bz2
gsoc2013-epiphany-fefc4bfb69cb7a69c87328c132ed8f38142b6a74.tar.lz
gsoc2013-epiphany-fefc4bfb69cb7a69c87328c132ed8f38142b6a74.tar.xz
gsoc2013-epiphany-fefc4bfb69cb7a69c87328c132ed8f38142b6a74.tar.zst
gsoc2013-epiphany-fefc4bfb69cb7a69c87328c132ed8f38142b6a74.zip
Fix constness and don't strdup when returning early.
2005-10-10 Christian Persch <chpe@cvs.gnome.org> * lib/ephy-string.c: (ephy_string_shorten): Fix constness and don't strdup when returning early.
Diffstat (limited to 'lib/ephy-string.h')
-rw-r--r--lib/ephy-string.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/ephy-string.h b/lib/ephy-string.h
index 86ab9eafc..d5b932ba0 100644
--- a/lib/ephy-string.h
+++ b/lib/ephy-string.h
@@ -30,7 +30,7 @@ gboolean ephy_string_to_int (const char *string,
char *ephy_string_blank_chr (char *source);
-char *ephy_string_shorten (const char *str,
+char *ephy_string_shorten (char *str,
gsize target_length);
G_END_DECLS