Fix a typo

We don't want to get the padding twice.
This commit is contained in:
Matthias Clasen 2016-03-11 16:38:41 -05:00
parent 5e68c4e62d
commit 2f4f164078

View File

@ -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;