[uim-commit] r3159 - trunk/xim

ekato at freedesktop.org ekato at freedesktop.org
Fri Mar 3 10:40:56 PST 2006


Author: ekato
Date: 2006-03-03 10:40:51 -0800 (Fri, 03 Mar 2006)
New Revision: 3159

Modified:
   trunk/xim/ximserver.cpp
Log:
* xim/ximserver.cpp : Indentation fixes.


Modified: trunk/xim/ximserver.cpp
===================================================================
--- trunk/xim/ximserver.cpp	2006-03-03 10:48:32 UTC (rev 3158)
+++ trunk/xim/ximserver.cpp	2006-03-03 18:40:51 UTC (rev 3159)
@@ -414,8 +414,8 @@
 	uim_set_configuration_changed_cb(uc,
 			InputContext::configuration_changed_cb);
 	uim_set_im_switch_request_cb(uc,
-				     InputContext::switch_app_global_im_cb,
-				     InputContext::switch_system_global_im_cb);
+			InputContext::switch_app_global_im_cb,
+			InputContext::switch_system_global_im_cb);
 
 	if (mFocusedContext == this)
 	    uim_prop_list_update(uc);
@@ -470,15 +470,15 @@
 
 void InputContext::switch_system_global_im(const char *name)
 {
-  char *msg;
-  std::map<Window, XimServer *>::iterator it;
+    char *msg;
+    std::map<Window, XimServer *>::iterator it;
 
-  for (it = XimServer::gServerMap.begin(); it != XimServer::gServerMap.end(); ++it)
-    (*it).second->changeContext(name);
+    for (it = XimServer::gServerMap.begin(); it != XimServer::gServerMap.end(); ++it)
+	(*it).second->changeContext(name);
 
-  asprintf(&msg, "im_change_whole_desktop\n%s\n", name);
-  uim_helper_send_message(lib_uim_fd, msg);
-  free(msg);
+    asprintf(&msg, "im_change_whole_desktop\n%s\n", name);
+    uim_helper_send_message(lib_uim_fd, msg);
+    free(msg);
 }
 
 void InputContext::review_im(const char *engine)



More information about the uim-commit mailing list