Commit f6329561 authored by Tristan Van Berkom's avatar Tristan Van Berkom

Fixed GtkTreeModel::row-deleted documentation

This documentation was in direct conflict with the documentation
of gtk_tree_model_row_deleted() docs, the function docs are TRUE,
the signal docs were FALSE, fixed.
parent e772082a
...@@ -401,12 +401,9 @@ gtk_tree_model_base_init (gpointer g_class) ...@@ -401,12 +401,9 @@ gtk_tree_model_base_init (gpointer g_class)
* Note that no iterator is passed to the signal handler, * Note that no iterator is passed to the signal handler,
* since the row is already deleted. * since the row is already deleted.
* *
* Implementations of GtkTreeModel must emit ::row-deleted * This should be called by models after a row has been removed.
* <emphasis>before</emphasis> removing the node from its * The location pointed to by @path should be the location that
* internal data structures. This is because models and * the row previously was at. It may not be a valid location anymore.
* views which access and monitor this model might have
* references on the node which need to be released in the
* row-deleted handler.
*/ */
closure = g_closure_new_simple (sizeof (GClosure), NULL); closure = g_closure_new_simple (sizeof (GClosure), NULL);
g_closure_set_marshal (closure, row_deleted_marshal); g_closure_set_marshal (closure, row_deleted_marshal);
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment