Annotation of pkgsrc/inputmethod/scim-python/patches/patch-ab, revision 1.1
1.1 ! obache 1: $NetBSD$
! 2:
! 3: remove unwanted cast.
! 4:
! 5: --- src/scim-python-engine.cpp.orig 2008-07-11 04:16:15.000000000 +0000
! 6: +++ src/scim-python-engine.cpp
! 7: @@ -621,7 +621,7 @@ PyIMEngine::py_update_preedit_string (Py
! 8:
! 9: unistr = g_utf16_to_ucs4 (str, size, NULL, NULL, NULL);
! 10:
! 11: - self->engine.update_preedit_string (WideString ((wchar_t *)unistr),
! 12: + self->engine.update_preedit_string (WideString (unistr),
! 13: Attributes_FromTupleOrList (pAttrs));
! 14: g_free (unistr);
! 15:
! 16: @@ -659,7 +659,7 @@ PyIMEngine::py_update_aux_string (PyIMEn
! 17: return NULL;
! 18:
! 19: unistr = g_utf16_to_ucs4 (str, size, NULL, NULL, NULL);
! 20: - self->engine.update_aux_string (WideString ((wchar_t *)unistr),
! 21: + self->engine.update_aux_string (WideString (unistr),
! 22: Attributes_FromTupleOrList (pAttrs));
! 23: g_free (unistr);
! 24: #endif
! 25: @@ -713,7 +713,7 @@ PyIMEngine::py_commit_string (PyIMEngine
! 26: return NULL;
! 27:
! 28: unistr = g_utf16_to_ucs4 (str, size, NULL, NULL, NULL);
! 29: - self->engine.commit_string (WideString ((wchar_t *)unistr));
! 30: + self->engine.commit_string (WideString (unistr));
! 31: g_free (unistr);
! 32: #endif
! 33:
CVSweb <webmaster@jp.NetBSD.org>