GNOME Bugzilla – Bug 770639
The position argument of 'insert-text' callback is wrongly converted by gi
Last modified: 2017-03-29 19:07:42 UTC
Created attachment 334522 [details] Test script The Gtk-3.0.gir file define it as c:type="gpointer" instead of c:type="gint*". So a warning is raised when the callback is called: Warning: g_value_get_int: assertion 'G_VALUE_HOLDS_INT (value)' failed Here is attached a python test file which shows the warning each time text is typed in the entry. It also shows that the position argument is always 0.
*** This bug has been marked as a duplicate of bug 727738 ***