summaryrefslogtreecommitdiff
path: root/gtk
diff options
context:
space:
mode:
authorEmmanuele Bassi <ebassi@gnome.org>2020-02-11 17:26:51 +0000
committerEmmanuele Bassi <ebassi@gnome.org>2020-02-13 14:53:25 +0000
commit35ac7de140406e4a9a6d2e75134569c8c6b26fe4 (patch)
treec269375c81a9765d1a5c935b9adfc064c4854359 /gtk
parent0d354d1dc457937f59f2a9e1572dfae4159bc49b (diff)
downloadgtk+-35ac7de140406e4a9a6d2e75134569c8c6b26fe4.tar.gz
Match argument name between declaration and definition
Otherwise the documentation and the introspection data will complain.
Diffstat (limited to 'gtk')
-rw-r--r--gtk/gtktextbuffer.c2
-rw-r--r--gtk/gtktextbuffer.h2
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