[gtk+] widget: Add annotation (allow-none) for set_tooltip_text



commit cbce906228e580102c3917c77c5159a966da067c
Author: Cole Robinson <crobinso redhat com>
Date:   Sat Jan 12 22:45:28 2013 -0500

    widget: Add annotation (allow-none) for set_tooltip_text
    
    https://bugzilla.gnome.org/show_bug.cgi?id=691639

 gtk/gtkwidget.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/gtk/gtkwidget.c b/gtk/gtkwidget.c
index c00cd25..ed584ea 100644
--- a/gtk/gtkwidget.c
+++ b/gtk/gtkwidget.c
@@ -13332,7 +13332,7 @@ gtk_widget_queue_tooltip_query (GtkWidget *widget)
 /**
  * gtk_widget_set_tooltip_text:
  * @widget: a #GtkWidget
- * @text: the contents of the tooltip for @widget
+ * @text: (allow-none): the contents of the tooltip for @widget
  *
  * Sets @text as the contents of the tooltip. This function will take
  * care of setting #GtkWidget:has-tooltip to %TRUE and of the default



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