forked from AuroraMiddleware/gtk
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:
parent
7835385264
commit
8720b2d8c5
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user