[gtk+] [doc] Fix the documentation of GtkIconEntry



commit ae057dcd12c0729c1920c7761f76638142a85ce6
Author: Christian Dywan <christian lanedo com>
Date:   Tue Dec 8 05:45:50 2009 +0100

    [doc] Fix the documentation of GtkIconEntry
    
    Cast to (GFunc) in example code
    
    Fixes https://bugzilla.gnome.org/show_bug.cgi?id=601383

 gtk/gtkiconview.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/gtk/gtkiconview.c b/gtk/gtkiconview.c
index d1055a9..14ee489 100644
--- a/gtk/gtkiconview.c
+++ b/gtk/gtkiconview.c
@@ -5794,7 +5794,7 @@ gtk_icon_view_unselect_path (GtkIconView *icon_view,
  *
  * 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);
  * ]|
  *



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]