forked from AuroraMiddleware/gtk
accessible: At an important note to the docs
I wanted to use weak refs to ensure this instead, but it's a performance problem when used in the treeview and each and every cell adds a weak ref to the treeview.
This commit is contained in:
parent
5789fd983b
commit
50431be274
@ -127,10 +127,14 @@ gtk_accessible_class_init (GtkAccessibleClass *klass)
|
||||
/**
|
||||
* gtk_accessible_set_widget:
|
||||
* @accessible: a #GtkAccessible
|
||||
* @widget: a #GtkWidget
|
||||
* @widget: (allow-none): a #GtkWidget or %NULL to unset
|
||||
*
|
||||
* Sets the #GtkWidget corresponding to the #GtkAccessible.
|
||||
*
|
||||
* <note><para>@accessible will not hold a reference to @widget.
|
||||
* It is the caller's responsibility to ensure that when @widget
|
||||
* is destroyed, the widget is unset by calling this function
|
||||
* again with @widget set to %NULL.</para></note>
|
||||
* Since: 2.22
|
||||
*/
|
||||
void
|
||||
|
Loading…
Reference in New Issue
Block a user