forked from AuroraMiddleware/gtk
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:
parent
9e89bf34bf
commit
c7bcef426b
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user