Recently, I read codes of ibus because I want to know how it works.
When I read it, I found a bus in src/ibusbus.c

In line 617 on ibusbus.c, there is a bug.

if (cancellable != NULL) {
        g_object_set_data_full ((GObject *)simple,
                                *"concellable"*,
                                g_object_ref (cancellable),
                                (GDestroyNotify)g_object_unref);
}

The bold text *"concellable"* should be corrected to *"cancellable".*

If doing so, cancellable object (line 587) which is in the function 
_create_input_context_async_step_one_done is set correctly.

GCancellable *cancellable =
            (GCancellable *)g_object_get_data ((GObject *)simple,
                                               "cancellable");

I think this is trivial bug. but I want to give a little help to ibus 
developers.

If it is possible, I want to be a committer someday.

Thanks.
*
*
*
*
*
*
*
*

-- 
You received this message because you are subscribed to the Google
Groups "ibus-devel" group.
iBus project web page: http://code.google.com/p/ibus/
iBus dev group: http://groups.google.com/group/ibus-devel?hl=en

回复