[gtk/gi-fixes: 55/58] Match argument name between declaration and definition



commit 35ac7de140406e4a9a6d2e75134569c8c6b26fe4
Author: Emmanuele Bassi <ebassi gnome org>
Date:   Tue Feb 11 17:26:51 2020 +0000

    Match argument name between declaration and definition
    
    Otherwise the documentation and the introspection data will complain.

 gtk/gtktextbuffer.c | 2 +-
 gtk/gtktextbuffer.h | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/gtk/gtktextbuffer.c b/gtk/gtktextbuffer.c
index abf6b6174d..c24bc61df4 100644
--- a/gtk/gtktextbuffer.c
+++ b/gtk/gtktextbuffer.c
@@ -2270,7 +2270,7 @@ gtk_text_buffer_real_insert_paintable (GtkTextBuffer *buffer,
 void
 gtk_text_buffer_insert_paintable (GtkTextBuffer *buffer,
                                   GtkTextIter   *iter,
-                                  GdkPaintable    *paintable)
+                                  GdkPaintable  *paintable)
 {
   g_return_if_fail (GTK_IS_TEXT_BUFFER (buffer));
   g_return_if_fail (iter != NULL);
diff --git a/gtk/gtktextbuffer.h b/gtk/gtktextbuffer.h
index a844d94f5b..3ad3b483e3 100644
--- a/gtk/gtktextbuffer.h
+++ b/gtk/gtktextbuffer.h
@@ -271,7 +271,7 @@ gchar          *gtk_text_buffer_get_slice           (GtkTextBuffer     *buffer,
 GDK_AVAILABLE_IN_ALL
 void gtk_text_buffer_insert_paintable      (GtkTextBuffer *buffer,
                                             GtkTextIter   *iter,
-                                            GdkPaintable  *texture);
+                                            GdkPaintable  *paintable);
 
 /* Insert a child anchor */
 GDK_AVAILABLE_IN_ALL


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