[gtk+/gtk-2-20] [GtkWidget] Add annotations



commit 92b44092d0237c1fbb947de49a279f4b931d36f9
Author: Johan Dahlin <johan gnome org>
Date:   Wed May 12 19:53:24 2010 -0300

    [GtkWidget] Add annotations
    
    Add a couple of out/inout annotations

 gtk/gtkwidget.c |    6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)
---
diff --git a/gtk/gtkwidget.c b/gtk/gtkwidget.c
index 0d92301..687c686 100644
--- a/gtk/gtkwidget.c
+++ b/gtk/gtkwidget.c
@@ -3847,7 +3847,7 @@ gtk_widget_draw (GtkWidget          *widget,
 /**
  * gtk_widget_size_request:
  * @widget: a #GtkWidget
- * @requisition: a #GtkRequisition to be filled in
+ * @requisition: (out): a #GtkRequisition to be filled in
  * 
  * This function is typically used when implementing a #GtkContainer
  * subclass.  Obtains the preferred size of a widget. The container
@@ -3881,7 +3881,7 @@ gtk_widget_size_request (GtkWidget	*widget,
 /**
  * gtk_widget_get_child_requisition:
  * @widget: a #GtkWidget
- * @requisition: a #GtkRequisition to be filled in
+ * @requisition: (out): a #GtkRequisition to be filled in
  * 
  * This function is only for use in widget implementations. Obtains
  * @widget->requisition, unless someone has forced a particular
@@ -3984,7 +3984,7 @@ gtk_widget_queue_shallow_draw (GtkWidget *widget)
 /**
  * gtk_widget_size_allocate:
  * @widget: a #GtkWidget
- * @allocation: position and size to be allocated to @widget
+ * @allocation: (inout): position and size to be allocated to @widget
  *
  * This function is only used by #GtkContainer subclasses, to assign a size
  * and position to their child widgets. 



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