[gtk+] widget: Remove outdated comment on get_allocation



commit f5b0692cfc90423492d2b57d796b329e4739573c
Author: Timm Bäder <mail baedert org>
Date:   Wed Oct 18 10:39:44 2017 +0200

    widget: Remove outdated comment on get_allocation
    
    The allocation passed to gtk_widget_size_allocate can be retrieved these
    days, using gtk_widget_get_allocated_size.

 gtk/gtkwidget.c |    3 ---
 1 files changed, 0 insertions(+), 3 deletions(-)
---
diff --git a/gtk/gtkwidget.c b/gtk/gtkwidget.c
index 5a63174..3637712 100644
--- a/gtk/gtkwidget.c
+++ b/gtk/gtkwidget.c
@@ -13167,9 +13167,6 @@ gtk_widget_get_allocated_size (GtkWidget     *widget,
  * gtk_widget_size_allocate() allocation, however. So a #GtkContainer
  * is guaranteed that its children stay inside the assigned bounds,
  * but not that they have exactly the bounds the container assigned.
- * There is no way to get the original allocation assigned by
- * gtk_widget_size_allocate(), since it isn’t stored; if a container
- * implementation needs that information it will have to track it itself.
  *
  * Since: 2.18
  */


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