]> Pileus Git - ~andy/gtk/commitdiff
Fix doc about gtk_cell_layout_get_area()
authorMilan Bouchet-Valat <nalimilan@club.fr>
Wed, 5 Jan 2011 13:49:09 +0000 (14:49 +0100)
committerMilan Bouchet-Valat <nalimilan@club.fr>
Wed, 5 Jan 2011 15:45:51 +0000 (16:45 +0100)
Return value was copied and pasted from gtk_cell_layout_get_cells(),
which is obviously wrong.

gtk/gtkcelllayout.c

index 35ff6f5344992511ea637c2618352490cb3dc4f6..7c589f2108a04cb876742b3e4ffc1c659e4f1d65 100644 (file)
@@ -488,9 +488,7 @@ gtk_cell_layout_get_cells (GtkCellLayout *cell_layout)
  * if called on a #GtkCellArea or might be %NULL if no #GtkCellArea
  * is used by @cell_layout.
  *
- * Return value: (transfer none): a list of cell renderers. The list,
- *     but not the renderers has been newly allocated and should be
- *     freed with g_list_free() when no longer needed.
+ * Return value: (transfer none): the cell area used by @cell_layout.
  *
  * Since: 3.0
  */