Updates:
        Status: Notabug
        Cc: takao.fujiwara1

Comment #2 on issue 1690 by takao.fujiwara1: get_surrounding_text() can't be called with NULL arguments from python-gi
http://code.google.com/p/ibus/issues/detail?id=1690

ibus_engine_get_surrounding_text() gets the text, cursor_pos and anchor_pos and emits the RequireSurroundingText signal. If text == NULL in ibus_engine_get_surrounding_text(), the function emits the RequireSurroundingText signal only.

https://github.com/ibus/ibus/blob/master/src/ibusengine.c#L1519

You can ignore the returned values in python-gi since it's just a get method if you wish to emit the signal only.

(text, cursor, anchor) = self.get_surrounding_text()


--
You received this message because this project is configured to send all issue notifications to this address.
You may adjust your notification preferences at:
https://code.google.com/hosting/settings

--
--
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
--- You received this message because you are subscribed to the Google Groups "ibus-devel" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/groups/opt_out.

回复