widget: Add transfer annotation for gtk_widget_set_window

gtk_widget_set_window does not add any reference to the window and
unrealize will destroy it.
This commit is contained in:
Jürg Billeter 2011-08-11 10:21:10 +02:00
parent 9e89bf34bf
commit c7bcef426b

View File

@ -14038,7 +14038,7 @@ gtk_widget_get_requisition (GtkWidget *widget,
/**
* gtk_widget_set_window:
* @widget: a #GtkWidget
* @window: a #GdkWindow
* @window: (transfer full): a #GdkWindow
*
* Sets a widget's window. This function should only be used in a
* widget's #GtkWidget::realize implementation. The %window passed is