mirror of
https://gitlab.gnome.org/GNOME/gtk.git
synced 2024-09-21 22:34:05 +00:00
Fix a typo
We don't want to get the padding twice.
This commit is contained in:
parent
5e68c4e62d
commit
2f4f164078
@ -4808,7 +4808,7 @@ text_window_set_padding (GtkTextView *text_view,
|
||||
priv = text_view->priv;
|
||||
|
||||
gtk_style_context_get_padding (context, gtk_style_context_get_state (context), &padding);
|
||||
gtk_style_context_get_padding (context, gtk_style_context_get_state (context), &border);
|
||||
gtk_style_context_get_border (context, gtk_style_context_get_state (context), &border);
|
||||
padding.left += border.left;
|
||||
padding.right += border.right;
|
||||
padding.top += border.top;
|
||||
|
Loading…
Reference in New Issue
Block a user