After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 320106 - TextBuffer.removeAllTags takes wrong parameters
TextBuffer.removeAllTags takes wrong parameters
Status: VERIFIED FIXED
Product: java-gnome
Classification: Bindings
Component: GTK
mainline
Other All
: Normal critical
: ---
Assigned To: Adam Jocksch
Adam Jocksch
Depends on:
Blocks:
 
 
Reported: 2005-10-28 16:54 UTC by Adam Jocksch
Modified: 2009-08-15 18:40 UTC
See Also:
GNOME target: ---
GNOME version: 2.11/2.12


Attachments
patch to TextBuffer.java (1.59 KB, patch)
2005-10-28 16:58 UTC, Adam Jocksch
none Details | Review

Description Adam Jocksch 2005-10-28 16:54:27 UTC
Please describe the problem:
The TextBuffer.removeAllTags(TextTag, TextTag) should be taking two TextIters
instead of TextTags. Calling this method will result in GTK assertions failing.

Steps to reproduce:
1. 
2. 
3. 


Actual results:


Expected results:


Does this happen every time?


Other information:
Comment 1 Adam Jocksch 2005-10-28 16:58:20 UTC
Created attachment 54003 [details] [review]
patch to TextBuffer.java

This patch adds the proper method (TextBuffer.removeAllTags(TextIter,
TextIter)) and deprecates the old one.
Comment 2 Adam Jocksch 2005-10-28 18:00:32 UTC
The patch has been applied to CVS HEAD