mirror of
https://gitlab.gnome.org/GNOME/gtk.git
synced 2024-11-11 03:10:09 +00:00
[docs] Cast to GFunc in gtk_tree_selection_get_selected_rows() example code
Reported by Diego Escalante Urrelo here: https://bugzilla.gnome.org/show_bug.cgi?id=502266
This commit is contained in:
parent
702ee3b350
commit
7e11475298
@ -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);
|
||||
* ]|
|
||||
*
|
||||
|
Loading…
Reference in New Issue
Block a user