GNOME Bugzilla – Bug 130075
gtk_text_view_get_iter_location() always returns incorrect y value
Last modified: 2004-12-22 21:47:04 UTC
This bug was originally reported in the Debian BTS: http://bugs.debian.org/221596 "gtk_text_view_get_iter_location() always returns rect.y == rect.height rather than the correct value, as demonstrated by this test program:"
Created attachment 22733 [details] [review] The test program
This is probably the result of working on an unrealized text view, though I can't explain exactly where the y == 17 originates. Moving the get_iter_location() call into the callback makes your testcase report x = 202, y = 136 w = 7, h = 17