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 783397 - Remove unused code in gtktextdisplay.c
Remove unused code in gtktextdisplay.c
Status: RESOLVED FIXED
Product: gtk+
Classification: Platform
Component: Widget: GtkTextView
unspecified
Other Linux
: Normal minor
: ---
Assigned To: gtk-bugs
gtk-bugs
Depends on:
Blocks:
 
 
Reported: 2017-06-04 06:26 UTC by Nelson Benitez
Modified: 2017-06-05 12:50 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
gtktextdisplay: remove unused code (1.27 KB, patch)
2017-06-04 06:29 UTC, Nelson Benitez
committed Details | Review

Description Nelson Benitez 2017-06-04 06:26:20 UTC
gtktextdisplay: remove unused code

In render_para() function, which is called for every text line that
needs to be drawn.
Comment 1 Nelson Benitez 2017-06-04 06:29:54 UTC
Created attachment 353135 [details] [review]
gtktextdisplay: remove unused code

gtktextdisplay: remove unused code
    
In render_para() function, which is called for every text line that
needs to be drawn.
    
https://bugzilla.gnome.org/show_bug.cgi?id=783397
Comment 2 Timm Bäder 2017-06-05 06:43:23 UTC
Review of attachment 353135 [details] [review]:

Makes sense to me. The same thing is done in the do-while loop further down for every line_rect.
Comment 3 Nelson Benitez 2017-06-05 12:50:34 UTC
(In reply to Timm Bäder from comment #2)
> Review of attachment 353135 [details] [review] [review]:
> 
> Makes sense to me. The same thing is done in the do-while loop further down
> for every line_rect.

Committed. Thanks.