[gtk+/resolution-independence: 23/24] [RI] GtkTextView: update functions to match prototypes



commit 9816a939b7b0b6a16d88cc282fc9e3adf60acdbe
Author: Davyd Madeley <davyd madeley id au>
Date:   Fri May 1 11:34:11 2009 +0800

    [RI] GtkTextView: update functions to match prototypes
    
    Some setter functions were taking gint as their parameter rather than
    GtkSize.
---
 gtk/gtktextview.c |    8 ++++----
 1 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/gtk/gtktextview.c b/gtk/gtktextview.c
index 9591eb9..51f1473 100644
--- a/gtk/gtktextview.c
+++ b/gtk/gtktextview.c
@@ -2362,7 +2362,7 @@ gtk_text_view_get_editable (GtkTextView *text_view)
  **/
 void
 gtk_text_view_set_pixels_above_lines (GtkTextView *text_view,
-                                      gint         pixels_above_lines)
+                                      GtkSize      pixels_above_lines)
 {
   g_return_if_fail (GTK_IS_TEXT_VIEW (text_view));
 
@@ -2425,7 +2425,7 @@ gtk_text_view_get_pixels_above_lines_unit (GtkTextView *text_view)
  **/
 void
 gtk_text_view_set_pixels_below_lines (GtkTextView *text_view,
-                                      gint         pixels_below_lines)
+                                      GtkSize      pixels_below_lines)
 {
   g_return_if_fail (GTK_IS_TEXT_VIEW (text_view));
 
@@ -2488,7 +2488,7 @@ gtk_text_view_get_pixels_below_lines_unit (GtkTextView *text_view)
  **/
 void
 gtk_text_view_set_pixels_inside_wrap (GtkTextView *text_view,
-                                      gint         pixels_inside_wrap)
+                                      GtkSize      pixels_inside_wrap)
 {
   g_return_if_fail (GTK_IS_TEXT_VIEW (text_view));
 
@@ -2722,7 +2722,7 @@ gtk_text_view_get_right_margin_unit (GtkTextView *text_view)
  **/
 void
 gtk_text_view_set_indent (GtkTextView *text_view,
-                          gint         indent)
+                          GtkSize      indent)
 {
   g_return_if_fail (GTK_IS_TEXT_VIEW (text_view));
 



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