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.
This commit is contained in:
Timm Bäder 2018-02-23 11:34:18 +01:00
parent 7835385264
commit 8720b2d8c5

View File

@ -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