summaryrefslogtreecommitdiff
path: root/gtk
diff options
context:
space:
mode:
authorJavier Jardón <jjardon@gnome.org>2009-12-18 04:34:15 +0100
committerJavier Jardón <jjardon@gnome.org>2009-12-19 02:09:18 +0100
commit7e114752988f4bf62034aa91dec496f980389f95 (patch)
treea478b56c69ab013ead1823f1c5ed789ebf6c190c /gtk
parent702ee3b3504079ea22565409846cb8d225b7f054 (diff)
downloadgtk+-7e114752988f4bf62034aa91dec496f980389f95.tar.gz
[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
Diffstat (limited to 'gtk')
-rw-r--r--gtk/gtktreeselection.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gtk/gtktreeselection.c b/gtk/gtktreeselection.c
index 9513f2b788..4a275da5c0 100644
--- a/gtk/gtktreeselection.c
+++ b/gtk/gtktreeselection.c
@@ -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);
* ]|
*