[gtk/doc-fixes: 2/4] Fix introspection warnings for GtkDragIcon



commit 041043eec1ca27fffe9bd834f983d8cff5fcd65d
Author: Emmanuele Bassi <ebassi gnome org>
Date:   Tue Mar 3 13:12:52 2020 +0000

    Fix introspection warnings for GtkDragIcon

 gtk/gtkdragicon.c | 2 +-
 gtk/gtkdragicon.h | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/gtk/gtkdragicon.c b/gtk/gtkdragicon.c
index a01e088946..9c7787ffa6 100644
--- a/gtk/gtkdragicon.c
+++ b/gtk/gtkdragicon.c
@@ -401,7 +401,7 @@ gtk_drag_icon_init (GtkDragIcon *self)
  * If no drag icon exists yet, a new one will be created
  * and shown.
  *
- * Returns: (transfer none) the #GtkDragIcon
+ * Returns: (transfer none): the #GtkDragIcon
  */
 GtkWidget *
 gtk_drag_icon_get_for_drag (GdkDrag *drag)
diff --git a/gtk/gtkdragicon.h b/gtk/gtkdragicon.h
index 3be995773a..9bea90b880 100644
--- a/gtk/gtkdragicon.h
+++ b/gtk/gtkdragicon.h
@@ -42,7 +42,7 @@ GtkWidget *     gtk_drag_icon_get_for_drag                      (GdkDrag
 
 GDK_AVAILABLE_IN_ALL
 void            gtk_drag_icon_set_child                         (GtkDragIcon            *self,
-                                                                 GtkWidget              *widget);
+                                                                 GtkWidget              *child);
 GDK_AVAILABLE_IN_ALL
 GtkWidget *     gtk_drag_icon_get_child                         (GtkDragIcon            *self);
 


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