[gtk+/gtk-3-22] Layout: Fix documentation on getting the GdkWindow



commit a6a547c2e0a409a453f8431d62e7d452e5b36628
Author: Daniel Boles <dboles src gmail com>
Date:   Mon Aug 7 23:56:49 2017 +0100

    Layout: Fix documentation on getting the GdkWindow
    
    Members are not public like they used to be, so accessors must be used.

 gtk/gtklayout.c |    6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)
---
diff --git a/gtk/gtklayout.c b/gtk/gtklayout.c
index 0abc988..83362bc 100644
--- a/gtk/gtklayout.c
+++ b/gtk/gtklayout.c
@@ -55,9 +55,9 @@
  * lower overhead. If you just need to position child widgets at specific
  * points, then #GtkFixed provides that functionality on its own.
  *
- * When handling expose events on a #GtkLayout, you must draw to
- * GTK_LAYOUT (layout)->bin_window, rather than to
- * GTK_WIDGET (layout)->window, as you would for a #GtkDrawingArea.
+ * When handling expose events on a #GtkLayout, you must draw to the #GdkWindow
+ * returned by gtk_layout_get_bin_window(), rather than to the one returned by
+ * gtk_widget_get_window() as you would for a #GtkDrawingArea.
  */
 
 


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