From: Huang Peng Date: Wed, 13 Aug 2008 23:39:41 +0000 (+0800) Subject: Fix compile warning. X-Git-Tag: 0.1.1.20080815~6 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=d0c61308117651a6c55ff5c1475d5c352a1244b1;p=platform%2Fupstream%2Fibus.git Fix compile warning. --- diff --git a/x11/main.c b/x11/main.c index cf99fcc..a4055e1 100644 --- a/x11/main.c +++ b/x11/main.c @@ -90,7 +90,7 @@ static gint g_debug_level = 0; IBusIMClient *_client = NULL; - +#if 0 static void _xim_preedit_start (XIMS xims, int icid, int connect_id) { @@ -112,6 +112,7 @@ _xim_preedit_end (XIMS xims, int icid, int connect_id) ips.connect_id = connect_id; IMPreeditEnd (xims, (XPointer)&ips); } +#endif int _xim_store_ic_values (X11IC *ic, IMChangeICStruct *call_data) @@ -341,7 +342,6 @@ int xim_open (XIMS xims, IMOpenStruct *call_data) { X11ICONN *conn; - gchar *last; LOG (1, "XIM_OPEN connect_id=%d\n", call_data->connect_id); @@ -547,6 +547,7 @@ _xim_client_disconnected_cb (IBusIMClient *client, gpointer data) static void _xim_init_IMdkit () { +#if 0 XIMStyle ims_styles_overspot [] = { XIMPreeditPosition | XIMStatusNothing, XIMPreeditNothing | XIMStatusNothing, @@ -554,6 +555,7 @@ _xim_init_IMdkit () XIMPreeditNothing | XIMStatusCallbacks, 0 }; +#endif XIMStyle ims_styles_onspot [] = { XIMPreeditPosition | XIMStatusNothing,