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:
  Show dependency tree
 
Reported: 2017-06-04 06:26 UTC by Nelson Benitez
Modified: 2017-06-05 12:50 UTC (History)
0 users

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 | Diff | 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.

Note You need to log in before you can comment on or make changes to this bug.