[gtk+] widget: Remove outdated comment about widget coordinates



commit 3613f96f59a65237b611f34e67cce05d3dae630e
Author: Timm Bäder <mail baedert org>
Date:   Sat Aug 19 11:43:29 2017 +0200

    widget: Remove outdated comment about widget coordinates
    
    Not so odd anymore.

 gtk/gtkwidget.c |    4 ----
 1 files changed, 0 insertions(+), 4 deletions(-)
---
diff --git a/gtk/gtkwidget.c b/gtk/gtkwidget.c
index 6e51ea5..dbfaa8c 100644
--- a/gtk/gtkwidget.c
+++ b/gtk/gtkwidget.c
@@ -4947,10 +4947,6 @@ gtk_widget_get_window_allocation (GtkWidget     *widget,
  * the region created from the given coordinates.
  *
  * The region here is specified in widget coordinates.
- * Widget coordinates are a bit odd; for historical reasons, they are
- * defined as @widget->window coordinates for widgets that return %TRUE for
- * gtk_widget_get_has_window(), and are relative to @widget->allocation.x,
- * @widget->allocation.y otherwise.
  *
  * @width or @height may be 0, in this case this function does
  * nothing. Negative values for @width and @height are not allowed.


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