forked from AuroraMiddleware/gtk
textlayout: Remove some unnecessary code
The same field is set again 2 lines down.
This commit is contained in:
parent
1c419f762b
commit
07a3fb833c
@ -2632,7 +2632,6 @@ gtk_text_layout_create_display (GtkTextLayout *layout,
|
||||
pango_layout_get_extents (display->layout, NULL, &extents);
|
||||
|
||||
text_pixel_width = PIXEL_BOUND (extents.width);
|
||||
display->width = text_pixel_width + display->left_margin + display->right_margin;
|
||||
|
||||
h_margin = display->left_margin + display->right_margin;
|
||||
h_padding = layout->left_padding + layout->right_padding;
|
||||
|
Loading…
Reference in New Issue
Block a user