[uim-commit] r1004 - trunk/uim
tkng at freedesktop.org
tkng at freedesktop.org
Fri Jul 22 08:08:43 EST 2005
Author: tkng
Date: 2005-07-21 15:08:40 -0700 (Thu, 21 Jul 2005)
New Revision: 1004
Modified:
trunk/uim/scim.cpp
Log:
* uim/scim.cpp: Replaced all error message output to stderr from stdout.
Modified: trunk/uim/scim.cpp
===================================================================
--- trunk/uim/scim.cpp 2005-07-21 21:58:22 UTC (rev 1003)
+++ trunk/uim/scim.cpp 2005-07-21 22:08:40 UTC (rev 1004)
@@ -431,7 +431,7 @@
static void cb_commit( IMEngineInstanceBase *instance, const WideString &wstr )
{
- fprintf(stdout, "cb_commit\n");
+ fprintf(stderr, "cb_commit\n");
SCIMContext *ic = static_cast<SCIMContext*>(instance->get_frontend_data());
if ( !ic )
{
@@ -449,7 +449,7 @@
static void cb_preedit_update( IMEngineInstanceBase *instance, const WideString &wstr, const AttributeList &attr )
{
- fprintf(stdout, "cb_preedit_update : preedit_str = [%s]\n", WideStr_to_CStr(wstr));
+ fprintf(stderr, "cb_preedit_update : preedit_str = [%s]\n", WideStr_to_CStr(wstr));
SCIMContext *ic = static_cast<SCIMContext*>(instance->get_frontend_data());
if ( !ic )
@@ -466,7 +466,7 @@
}
static void cb_preedit_hide( IMEngineInstanceBase *instance )
{
- fprintf(stdout, "cb_preedit_hide\n");
+ fprintf(stderr, "cb_preedit_hide\n");
SCIMContext *ic = static_cast<SCIMContext*>(instance->get_frontend_data());
if ( !ic )
@@ -481,7 +481,7 @@
}
static void cb_preedit_caret( IMEngineInstanceBase *instance, int caret )
{
- fprintf(stdout, "cb_preedit_caret\n");
+ fprintf(stderr, "cb_preedit_caret\n");
SCIMContext *ic = static_cast<SCIMContext*>(instance->get_frontend_data());
if ( !ic )
@@ -497,7 +497,7 @@
}
static void cb_lookup_update( IMEngineInstanceBase *instance, const LookupTable &table )
{
- fprintf(stdout, "cb_lookup_update\n");
+ fprintf(stderr, "cb_lookup_update\n");
SCIMContext *ic = static_cast<SCIMContext*>(instance->get_frontend_data());
if ( !ic )
@@ -508,11 +508,11 @@
}
static void cb_lookup_show( IMEngineInstanceBase *instance )
{
- fprintf(stdout, "cb_lookup_show\n");
+ fprintf(stderr, "cb_lookup_show\n");
}
static void cb_lookup_hide( IMEngineInstanceBase *instance )
{
- fprintf(stdout, "cb_lookup_hide\n");
+ fprintf(stderr, "cb_lookup_hide\n");
}
static void
More information about the uim-commit
mailing list