[gtk] widget: Fix variable names
- From: Benjamin Otte <otte src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk] widget: Fix variable names
- Date: Thu, 5 Apr 2018 15:13:07 +0000 (UTC)
commit ebea84474d8ab74fd758337881af19eaa548af4c
Author: Benjamin Otte <otte redhat com>
Date: Thu Apr 5 17:09:52 2018 +0200
widget: Fix variable names
Stop docs build from complaining
gtk/gtkwidget.c | 2 +-
gtk/gtkwidget.h | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/gtk/gtkwidget.c b/gtk/gtkwidget.c
index b91b83d95d..a140e12fce 100644
--- a/gtk/gtkwidget.c
+++ b/gtk/gtkwidget.c
@@ -11481,7 +11481,7 @@ gtk_widget_get_own_allocation (GtkWidget *widget,
* gtk_widget_compute_bounds:
* @widget: the #GtkWidget to query
* @target: the #GtkWidget
- * @bounds: (out caller-allocates): the rectangle taking the bounds
+ * @out_bounds: (out caller-allocates): the rectangle taking the bounds
*
* Computes the bounds for @widget in the coordinate space of @target.
* FIXME: Explain what "bounds" are.
diff --git a/gtk/gtkwidget.h b/gtk/gtkwidget.h
index 22f2daf27c..d90d065a8c 100644
--- a/gtk/gtkwidget.h
+++ b/gtk/gtkwidget.h
@@ -624,7 +624,7 @@ void gtk_widget_get_allocation (GtkWidget *widget,
GtkAllocation *allocation);
GDK_AVAILABLE_IN_ALL
gboolean gtk_widget_compute_bounds (GtkWidget *widget,
- GtkWidget *other,
+ GtkWidget *target,
graphene_rect_t *out_bounds);
GDK_AVAILABLE_IN_ALL
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]