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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user