[gtk+/gtk-3-22] gtk_widget_intersect: fix annotations



commit cc53017b3e6804ea00a53405480b5bede61f9cac
Author: Christoph Reiter <reiter christoph gmail com>
Date:   Thu Mar 30 10:45:00 2017 +0200

    gtk_widget_intersect: fix annotations
    
    https://bugzilla.gnome.org/show_bug.cgi?id=773228

 gtk/gtkwidget.c |    3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)
---
diff --git a/gtk/gtkwidget.c b/gtk/gtkwidget.c
index da9c2b2..5a79090 100644
--- a/gtk/gtkwidget.c
+++ b/gtk/gtkwidget.c
@@ -7892,7 +7892,8 @@ gtk_widget_reparent (GtkWidget *widget,
  * gtk_widget_intersect:
  * @widget: a #GtkWidget
  * @area: a rectangle
- * @intersection: (nullable): rectangle to store intersection of @widget and @area
+ * @intersection: (out caller-allocates) (optional): rectangle to store
+ *   intersection of @widget and @area
  *
  * Computes the intersection of a @widget’s area and @area, storing
  * the intersection in @intersection, and returns %TRUE if there was


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