[gtk+] Fix some parameter name mismatches in the docs



commit 680b64d04a49d6c129f5442ce4039980bb86fa4a
Author: Matthias Clasen <mclasen redhat com>
Date:   Wed Jan 5 10:04:48 2011 -0500

    Fix some parameter name mismatches in the docs

 gtk/gtkcellarea.c     |    2 +-
 gtk/gtkcellrenderer.c |    5 -----
 2 files changed, 1 insertions(+), 6 deletions(-)
---
diff --git a/gtk/gtkcellarea.c b/gtk/gtkcellarea.c
index 9e770d6..2e8f522 100644
--- a/gtk/gtkcellarea.c
+++ b/gtk/gtkcellarea.c
@@ -2943,7 +2943,7 @@ gtk_cell_area_activate (GtkCellArea         *area,
 /**
  * gtk_cell_area_set_focus_cell:
  * @area: a #GtkCellArea
- * @focus_cell: the #GtkCellRenderer to give focus to
+ * @renderer: the #GtkCellRenderer to give focus to
  *
  * This is generally called from #GtkCellArea implementations
  * either gtk_cell_area_grab_focus() or gtk_cell_area_update_focus()
diff --git a/gtk/gtkcellrenderer.c b/gtk/gtkcellrenderer.c
index 95f3340..a6760ee 100644
--- a/gtk/gtkcellrenderer.c
+++ b/gtk/gtkcellrenderer.c
@@ -1570,17 +1570,12 @@ gtk_cell_renderer_get_preferred_height_for_width (GtkCellRenderer *cell,
  * gtk_cell_renderer_get_preferred_size:
  * @cell: a #GtkCellRenderer instance
  * @widget: the #GtkWidget this cell will be rendering to
- * @request_natural: Whether to base the contextual request off of the
- *     base natural or the base minimum
  * @minimum_size: (out) (allow-none): location for storing the minimum size, or %NULL
  * @natural_size: (out) (allow-none): location for storing the natural size, or %NULL
  *
  * Retrieves the minimum and natural size of a cell taking
  * into account the widget's preference for height-for-width management.
  *
- * If request_natural is specified, the non-contextual natural value will
- * be used to make the contextual request; otherwise the minimum will be used.
- *
  * Since: 3.0
  */
 void



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