From 199249130d932922a922a2eb193bbc52f2058536 Mon Sep 17 00:00:00 2001 From: Bradley Smith Date: Sun, 9 Mar 2008 00:16:08 +0000 Subject: Replace deprecated functions. Signed-off-by: Bradley Smith --- src/api.c | 6 +++--- 1 file 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); -- cgit v1.1