From 2161fb5b8c57a5bbbd24441fcddec1e8e106a056 Mon Sep 17 00:00:00 2001 From: Matthias Clasen Date: Mon, 9 Aug 2010 21:39:20 -0400 Subject: [PATCH] Clarify the docs for gtk_widget_set_has_window() The previous version of the docs did not make it clear that has-window is the defaults. Pointed out by Magnus Hjorth, bug 615474. (cherry picked from commit 61e34032ec0365928824900ed256c4e57ce8dc6f) --- gtk/gtkwidget.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/gtk/gtkwidget.c b/gtk/gtkwidget.c index ade759ed04..cef677185d 100644 --- a/gtk/gtkwidget.c +++ b/gtk/gtkwidget.c @@ -5922,9 +5922,9 @@ gtk_widget_get_visible (GtkWidget *widget) * all realized widgets have a non-%NULL "window" pointer * (gtk_widget_get_window() never returns a %NULL window when a widget * is realized), but for many of them it's actually the #GdkWindow of - * one of its parent widgets. Widgets that create a %window for - * themselves in GtkWidget::realize() however must announce this by - * calling this function with @has_window = %TRUE. + * one of its parent widgets. Widgets that do not create a %window for + * themselves in GtkWidget::realize() must announce this by + * calling this function with @has_window = %FALSE. * * This function should only be called by widget implementations, * and they should call it in their init() function.