From 10fd53970c2f684162abe0678dc57564a7afde90 Mon Sep 17 00:00:00 2001 From: Benjamin Otte Date: Tue, 19 Apr 2011 00:55:03 +0200 Subject: [PATCH] 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 file changed, 2 insertions(+), 1 deletion(-) diff --git a/gtk/gtkwidget.c b/gtk/gtkwidget.c index 98f95289b2..7dddae7dea 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.