Kouhei Sutou
kous****@users*****
2006年 11月 22日 (水) 18:29:42 JST
Index: tomoe/lib/tomoe-candidate.c diff -u tomoe/lib/tomoe-candidate.c:1.5 tomoe/lib/tomoe-candidate.c:1.6 --- tomoe/lib/tomoe-candidate.c:1.5 Tue Nov 21 17:20:55 2006 +++ tomoe/lib/tomoe-candidate.c Wed Nov 22 18:29:42 2006 @@ -18,7 +18,7 @@ * Free Software Foundation, Inc., 59 Temple Place, Suite 330, * Boston, MA 02111-1307 USA * - * $Id: tomoe-candidate.c,v 1.5 2006/11/21 08:20:55 kous Exp $ + * $Id: tomoe-candidate.c,v 1.6 2006/11/22 09:29:42 kous Exp $ */ #include "tomoe-candidate.h" @@ -156,12 +156,12 @@ } TomoeCandidate* -tomoe_candidate_new (TomoeChar *t_char) +tomoe_candidate_new (TomoeChar *chr) { TomoeCandidate *cand; cand = g_object_new(TOMOE_TYPE_CANDIDATE, - "character", t_char, + "character", chr, NULL); return cand; Index: tomoe/lib/tomoe-candidate.h diff -u tomoe/lib/tomoe-candidate.h:1.4 tomoe/lib/tomoe-candidate.h:1.5 --- tomoe/lib/tomoe-candidate.h:1.4 Wed Nov 22 15:04:22 2006 +++ tomoe/lib/tomoe-candidate.h Wed Nov 22 18:29:42 2006 @@ -18,7 +18,7 @@ * Free Software Foundation, Inc., 59 Temple Place, Suite 330, * Boston, MA 02111-1307 USA * - * $Id: tomoe-candidate.h,v 1.4 2006/11/22 06:04:22 kous Exp $ + * $Id: tomoe-candidate.h,v 1.5 2006/11/22 09:29:42 kous Exp $ */ /** @file tomoe-candidate.h @@ -55,7 +55,7 @@ GType tomoe_candidate_get_type (void) G_GNUC_CONST; -TomoeCandidate *tomoe_candidate_new (TomoeChar *t_char); +TomoeCandidate *tomoe_candidate_new (TomoeChar *chr); TomoeChar *tomoe_candidate_get_character (TomoeCandidate *cand); Index: tomoe/lib/tomoe-char.c diff -u tomoe/lib/tomoe-char.c:1.44 tomoe/lib/tomoe-char.c:1.45 --- tomoe/lib/tomoe-char.c:1.44 Wed Nov 22 18:04:47 2006 +++ tomoe/lib/tomoe-char.c Wed Nov 22 18:29:42 2006 @@ -18,7 +18,7 @@ * Free Software Foundation, Inc., 59 Temple Place, Suite 330, * Boston, MA 02111-1307 USA * - * $Id: tomoe-char.c,v 1.44 2006/11/22 09:04:47 kous Exp $ + * $Id: tomoe-char.c,v 1.45 2006/11/22 09:29:42 kous Exp $ */ #include <stdlib.h> @@ -150,7 +150,7 @@ } const char* -tomoe_char_get_code (const TomoeChar* chr) +tomoe_char_get_code (TomoeChar* chr) { TomoeCharPrivate *priv; Index: tomoe/lib/tomoe-char.h diff -u tomoe/lib/tomoe-char.h:1.42 tomoe/lib/tomoe-char.h:1.43 --- tomoe/lib/tomoe-char.h:1.42 Wed Nov 22 18:04:47 2006 +++ tomoe/lib/tomoe-char.h Wed Nov 22 18:29:42 2006 @@ -18,7 +18,7 @@ * Free Software Foundation, Inc., 59 Temple Place, Suite 330, * Boston, MA 02111-1307 USA * - * $Id: tomoe-char.h,v 1.42 2006/11/22 09:04:47 kous Exp $ + * $Id: tomoe-char.h,v 1.43 2006/11/22 09:29:42 kous Exp $ */ /** @file tomoe-char.h @@ -63,7 +63,7 @@ */ TomoeChar *tomoe_char_new (void); -const char *tomoe_char_get_code (const TomoeChar *chr); +const char *tomoe_char_get_code (TomoeChar *chr); void tomoe_char_set_code (TomoeChar *chr, const char *code); const GList *tomoe_char_get_readings (TomoeChar *chr);