[gtk] widget: Correct translate_coordinate documentation
- From: Timm Bäder <baedert src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk] widget: Correct translate_coordinate documentation
- Date: Fri, 23 Feb 2018 21:18:47 +0000 (UTC)
commit 8720b2d8c51eb3c3f344f5e412eaf2b150da96fb
Author: Timm Bäder <mail baedert org>
Date: Fri Feb 23 11:34:18 2018 +0100
widget: Correct translate_coordinate documentation
We write 0 to dest_x and dest_y nowadays if the two widgets do not have
a common ancestor.
gtk/gtkwidget.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/gtk/gtkwidget.c b/gtk/gtkwidget.c
index e5a857e767..bcd0294730 100644
--- a/gtk/gtkwidget.c
+++ b/gtk/gtkwidget.c
@@ -4752,7 +4752,7 @@ gtk_widget_get_origin_relative_to_parent (GtkWidget *widget,
* operation, both widget must share a common toplevel.
*
* Returns: %FALSE if @src_widget and @dest_widget have no common
- * ancestor. In this case, nothing is stored in
+ * ancestor. In this case, 0 is stored in
* *@dest_x and *@dest_y. Otherwise %TRUE.
**/
gboolean
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]