summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBradley Smith2008-03-09 00:16:08 +0000
committerBradley Smith2008-03-09 00:16:08 +0000
commit199249130d932922a922a2eb193bbc52f2058536 (patch)
tree0a4d56365db7d4e931ec4075de4b7b5d878011af
parentAdd readline support to text plugin. (diff)
downloadgnurobots-199249130d932922a922a2eb193bbc52f2058536.tar.gz
Replace deprecated functions.
Signed-off-by: Bradley Smith <brad@brad-smith.co.uk>
-rw-r--r--src/api.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/api.c b/src/api.c
index bb57b7e..c0cee3e 100644
--- a/src/api.c
+++ b/src/api.c
@@ -55,7 +55,7 @@ api_robot_smell (SCM s_th)
gboolean ret;
gchar *str;
- str = SCM_STRING_CHARS (s_th);
+ str = scm_to_locale_string (s_th);
ret = g_robot_smell (robot, str);
return SCM_BOOL (ret);
@@ -67,7 +67,7 @@ api_robot_feel (SCM s_th)
gboolean ret;
gchar *str;
- str = SCM_STRING_CHARS (s_th);
+ str = scm_to_locale_string (s_th);
ret = g_robot_feel (robot, str);
return SCM_BOOL (ret);
@@ -79,7 +79,7 @@ api_robot_look (SCM s_th)
gboolean ret;
gchar *str;
- str = SCM_STRING_CHARS (s_th);
+ str = scm_to_locale_string (s_th);
ret = g_robot_look (robot, str);
return SCM_BOOL (ret);