[gq-commit] gq/src utf8-compat.h,1.1,1.2
Status: Beta
Brought to you by:
sur5r
From: <sta...@us...> - 2003-10-05 13:50:28
|
Update of /cvsroot/gqclient/gq/src In directory sc8-pr-cvs1:/tmp/cvs-serv9847 Modified Files: utf8-compat.h Log Message: * More "UTF-8" for gtk 1.x support (that is: provide wrappers for gtk 1.x) Index: utf8-compat.h =================================================================== RCS file: /cvsroot/gqclient/gq/src/utf8-compat.h,v retrieving revision 1.1 retrieving revision 1.2 diff -C2 -d -r1.1 -r1.2 *** utf8-compat.h 4 Oct 2003 10:06:44 -0000 1.1 --- utf8-compat.h 5 Oct 2003 13:50:24 -0000 1.2 *************** *** 46,49 **** --- 46,62 ---- #endif + #ifndef HAVE_G_UTF8_STRCHR + # define g_utf8_strchr(haystack,len,needle) strchr((haystack),(needle)) + #endif + + + #ifndef HAVE_G_STRING_APPEND_UNICODE + # define g_string_append_unichar g_string_append_c + #endif + + #ifndef HAVE_G_STRING_NEW_LEN + # define g_string_new_len(s,l) g_string_assign(g_string_sized_new(l), (s)) + #endif + #endif |