[gtk+] Fix a typo



commit 2f4f1640780da5be48447d93664237c7725995c1
Author: Matthias Clasen <mclasen redhat com>
Date:   Fri Mar 11 16:38:41 2016 -0500

    Fix a typo
    
    We don't want to get the padding twice.

 gtk/gtktextview.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/gtk/gtktextview.c b/gtk/gtktextview.c
index 6302676..d92d1cf 100644
--- a/gtk/gtktextview.c
+++ b/gtk/gtktextview.c
@@ -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;


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]