]> Pileus Git - ~andy/gtk/commitdiff
treemodel: document gtk_tree_path_free() as allow-none
authorCosimo Cecchi <cosimoc@gnome.org>
Wed, 19 Oct 2011 18:47:50 +0000 (14:47 -0400)
committerCosimo Cecchi <cosimoc@gnome.org>
Thu, 20 Oct 2011 13:27:17 +0000 (09:27 -0400)
https://bugzilla.gnome.org/show_bug.cgi?id=662230

gtk/gtktreemodel.c

index 584e3512f8331105a05d3419f782d58c7ff637f3..f0f7f41b95d01b286046546455a0d578ed148412 100644 (file)
@@ -874,9 +874,9 @@ gtk_tree_path_get_indices_with_depth (GtkTreePath *path,
 
 /**
  * gtk_tree_path_free:
- * @path: a #GtkTreePath
+ * @path: (allow-none): a #GtkTreePath
  *
- * Frees @path.
+ * Frees @path. If @path is %NULL, it simply returns.
  */
 void
 gtk_tree_path_free (GtkTreePath *path)