summaryrefslogtreecommitdiff
path: root/legacy/ecore/src/modules/immodules/scim/scim_imcontext.cpp
diff options
context:
space:
mode:
authorIván Briano <sachieru@gmail.com>2011-12-27 14:12:02 +0000
committerIván Briano <sachieru@gmail.com>2011-12-27 14:12:02 +0000
commit9bba5f92b08491ec2bfeceead9be5bebaa97979e (patch)
treec772f0e80c9f956beb75e1773a3faec64d95e9d6 /legacy/ecore/src/modules/immodules/scim/scim_imcontext.cpp
parent6f5a4382d0843e4ece5d925256e5659a065b2ccf (diff)
Fix warnings in scim module and indent Makefile.am correctly. By Jihoon Kim
SVN revision: 66572
Diffstat (limited to '')
-rw-r--r--legacy/ecore/src/modules/immodules/scim/scim_imcontext.cpp17
1 files changed, 8 insertions, 9 deletions
diff --git a/legacy/ecore/src/modules/immodules/scim/scim_imcontext.cpp b/legacy/ecore/src/modules/immodules/scim/scim_imcontext.cpp
index 375f26b33c..b4edfe4400 100644
--- a/legacy/ecore/src/modules/immodules/scim/scim_imcontext.cpp
+++ b/legacy/ecore/src/modules/immodules/scim/scim_imcontext.cpp
@@ -1,3 +1,7 @@
1#ifdef HAVE_CONFIG_H
2#include <config.h>
3#endif
4
1#define Uses_SCIM_DEBUG 5#define Uses_SCIM_DEBUG
2#define Uses_SCIM_BACKEND 6#define Uses_SCIM_BACKEND
3#define Uses_SCIM_IMENGINE_MODULE 7#define Uses_SCIM_IMENGINE_MODULE
@@ -1386,7 +1390,7 @@ isf_imf_context_filter_event (Ecore_IMF_Context *ctx, Ecore_IMF_Event_Type type,
1386 1390
1387/* Panel Slot functions */ 1391/* Panel Slot functions */
1388static void 1392static void
1389panel_slot_reload_config (int context) 1393panel_slot_reload_config (int context __UNUSED__)
1390{ 1394{
1391 SCIM_DEBUG_FRONTEND(1) << __FUNCTION__ << "...\n"; 1395 SCIM_DEBUG_FRONTEND(1) << __FUNCTION__ << "...\n";
1392 _config->reload (); 1396 _config->reload ();
@@ -1764,7 +1768,7 @@ panel_finalize (void)
1764} 1768}
1765 1769
1766static Eina_Bool 1770static Eina_Bool
1767panel_iochannel_handler (void *data, Ecore_Fd_Handler *fd_handler) 1771panel_iochannel_handler (void *data __UNUSED__, Ecore_Fd_Handler *fd_handler)
1768{ 1772{
1769 SCIM_DEBUG_FRONTEND(1) << __FUNCTION__ << "...\n"; 1773 SCIM_DEBUG_FRONTEND(1) << __FUNCTION__ << "...\n";
1770 1774
@@ -2665,14 +2669,9 @@ slot_update_property (IMEngineInstanceBase *si,
2665} 2669}
2666 2670
2667static void 2671static void
2668slot_beep (IMEngineInstanceBase *si) 2672slot_beep (IMEngineInstanceBase *si __UNUSED__)
2669{ 2673{
2670 SCIM_DEBUG_FRONTEND(1) << __FUNCTION__ << "...\n"; 2674 SCIM_DEBUG_FRONTEND(1) << __FUNCTION__ << "...\n";
2671
2672 EcoreIMFContextISF *ic = static_cast<EcoreIMFContextISF *> (si->get_frontend_data ());
2673
2674 if (ic && ic->impl && _focused_ic == ic)
2675 ;//gdk_beep ();
2676} 2675}
2677 2676
2678static void 2677static void
@@ -2798,7 +2797,7 @@ reload_config_callback (const ConfigPointer &config)
2798} 2797}
2799 2798
2800static void 2799static void
2801fallback_commit_string_cb (IMEngineInstanceBase *si, 2800fallback_commit_string_cb (IMEngineInstanceBase *si __UNUSED__,
2802 const WideString &str) 2801 const WideString &str)
2803{ 2802{
2804 SCIM_DEBUG_FRONTEND(1) << __FUNCTION__ << "...\n"; 2803 SCIM_DEBUG_FRONTEND(1) << __FUNCTION__ << "...\n";