Commit 1abc649b authored by Javier Jardón's avatar Javier Jardón Committed by Tristan Van Berkom

[docs] Cast to GFunc in gtk_tree_selection_get_selected_rows() example code

Reported by Diego Escalante Urrelo here:
parent f8b8bb4b
......@@ -411,7 +411,7 @@ gtk_tree_selection_get_selected (GtkTreeSelection *selection,
* To free the return value, use:
* |[
* g_list_foreach (list, gtk_tree_path_free, NULL);
* g_list_foreach (list, (GFunc) gtk_tree_path_free, NULL);
* g_list_free (list);
* ]|
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