Hi,
Here are two simple patches.
'fix_warning_scim_imcontext.patch' is for fixing build warning 'warning:
unused parameter' in scim-immodule.
'fix_indent_Makefile.patch' is for fixing indentation of Makefile.am in
immodules/scim directory.
Would you please apply in svn?
Index: scim_imcontext.cpp
===================================================================
--- scim_imcontext.cpp (revision 66556)
+++ scim_imcontext.cpp (working copy)
@@ -21,6 +21,9 @@
#include <scim.h>
#include "scim_imcontext.h"
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
using namespace scim;
@@ -1386,7 +1389,7 @@ isf_imf_context_filter_event (Ecore_IMF_Context *c
/* Panel Slot functions */
static void
-panel_slot_reload_config (int context)
+panel_slot_reload_config (int context __UNUSED__)
{
SCIM_DEBUG_FRONTEND(1) << __FUNCTION__ << "...\n";
_config->reload ();
@@ -1764,7 +1767,7 @@ panel_finalize (void)
}
static Eina_Bool
-panel_iochannel_handler (void *data, Ecore_Fd_Handler *fd_handler)
+panel_iochannel_handler (void *data __UNUSED__, Ecore_Fd_Handler *fd_handler)
{
SCIM_DEBUG_FRONTEND(1) << __FUNCTION__ << "...\n";
@@ -2665,14 +2668,9 @@ slot_update_property (IMEngineInstanceBase *si,
}
static void
-slot_beep (IMEngineInstanceBase *si)
+slot_beep (IMEngineInstanceBase *si __UNUSED__)
{
SCIM_DEBUG_FRONTEND(1) << __FUNCTION__ << "...\n";
-
- EcoreIMFContextISF *ic = static_cast<EcoreIMFContextISF *> (si->get_frontend_data ());
-
- if (ic && ic->impl && _focused_ic == ic)
- ;//gdk_beep ();
}
static void
@@ -2798,7 +2796,7 @@ reload_config_callback (const ConfigPointer &confi
}
static void
-fallback_commit_string_cb (IMEngineInstanceBase *si,
+fallback_commit_string_cb (IMEngineInstanceBase *si __UNUSED__,
const WideString &str)
{
SCIM_DEBUG_FRONTEND(1) << __FUNCTION__ << "...\n";
Index: Makefile.am
===================================================================
--- Makefile.am (revision 66556)
+++ Makefile.am (working copy)
@@ -30,7 +30,7 @@ scim_la_LIBADD = \
$(top_builddir)/src/lib/ecore_imf/libecore_imf.la \
$(top_builddir)/src/lib/ecore_x/libecore_x.la \
@SCIM_LIBS@ \
- @EVAS_LIBS@ \
+ @EVAS_LIBS@ \
@EINA_LIBS@
scim_la_LDFLAGS = -no-undefined @lt_enable_auto_import@ -module -avoid-version
scim_la_LIBTOOLFLAGS = --tag=disable-static
------------------------------------------------------------------------------
Write once. Port to many.
Get the SDK and tools to simplify cross-platform app development. Create
new or port existing apps to sell to consumers worldwide. Explore the
Intel AppUpSM program developer opportunity. appdeveloper.intel.com/join
http://p.sf.net/sfu/intel-appdev
_______________________________________________
enlightenment-devel mailing list
enlightenment-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel