[gtk+] introspection: Fix build



commit dcc2577b9755342a61ac9cd9b88a09db0e35cc9b
Author: Benjamin Otte <otte redhat com>
Date:   Wed Nov 15 19:33:26 2017 +0100

    introspection: Fix build

 gtk/gtkmenu.c      |    4 ++--
 gtk/gtkselection.c |    3 +--
 gtk/gtkwindow.h    |    2 +-
 3 files changed, 4 insertions(+), 5 deletions(-)
---
diff --git a/gtk/gtkmenu.c b/gtk/gtkmenu.c
index 51544ab..d4307ea 100644
--- a/gtk/gtkmenu.c
+++ b/gtk/gtkmenu.c
@@ -4297,8 +4297,8 @@ gtk_menu_select_item (GtkMenuShell *menu_shell,
 /**
  * gtk_menu_set_display:
  * @menu: a #GtkMenu
- * @screen: (allow-none): a #GdkDisplay, or %NULL if the display should be
- *          determined by the widget the menu is attached to
+ * @display: (allow-none): a #GdkDisplay, or %NULL if the display should be
+ *           determined by the widget the menu is attached to
  *
  * Sets the #GdkDisplay on which the menu will be displayed.
  *
diff --git a/gtk/gtkselection.c b/gtk/gtkselection.c
index 8d6f503..339eef1 100644
--- a/gtk/gtkselection.c
+++ b/gtk/gtkselection.c
@@ -974,8 +974,7 @@ gtk_selection_add_target (GtkWidget     *widget,
  * gtk_selection_add_targets:
  * @widget: a #GtkWidget
  * @selection: the selection
- * @targets: (array length=ntargets): a table of targets to add
- * @ntargets:  number of entries in @targets
+ * @targets: the targets to add
  * 
  * Prepends a table of targets to the list of supported targets
  * for a given widget and selection.
diff --git a/gtk/gtkwindow.h b/gtk/gtkwindow.h
index 19d07f5..47f8263 100644
--- a/gtk/gtkwindow.h
+++ b/gtk/gtkwindow.h
@@ -275,7 +275,7 @@ GDK_AVAILABLE_IN_ALL
 GList*     gtk_window_get_icon_list                (GtkWindow  *window);
 GDK_AVAILABLE_IN_ALL
 void       gtk_window_set_icon                     (GtkWindow  *window,
-                                                    GdkTexture *texture);
+                                                    GdkTexture *icon);
 GDK_AVAILABLE_IN_ALL
 void       gtk_window_set_icon_name                (GtkWindow   *window,
                                                    const gchar *name);


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