[gtk+] docs: Strictify the docs for gtk_cairo_should_draw_window()



commit 10fd53970c2f684162abe0678dc57564a7afde90
Author: Benjamin Otte <otte redhat com>
Date:   Tue Apr 19 00:55:03 2011 +0200

    docs: Strictify the docs for gtk_cairo_should_draw_window()
    
    We don't actually enforce the docs, but we will in the future. (in fact,
    I only added this because widgets were doing stupid things.)

 gtk/gtkwidget.c |    3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)
---
diff --git a/gtk/gtkwidget.c b/gtk/gtkwidget.c
index 98f9528..7dddae7 100644
--- a/gtk/gtkwidget.c
+++ b/gtk/gtkwidget.c
@@ -5628,7 +5628,8 @@ gtk_cairo_set_event (cairo_t        *cr,
 /**
  * gtk_cairo_should_draw_window:
  * @cr: a cairo context
- * @window: the window to check
+ * @window: the window to check. @window may not be an input-only
+ *          window.
  *
  * This function is supposed to be called in #GtkWidget::draw
  * implementations for widgets that support multiple windows.



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