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.
/**
* 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