[gtk+] Clarify the docs for gtk_widget_set_has_window()
- From: Matthias Clasen <matthiasc src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk+] Clarify the docs for gtk_widget_set_has_window()
- Date: Tue, 10 Aug 2010 01:41:10 +0000 (UTC)
commit 61e34032ec0365928824900ed256c4e57ce8dc6f
Author: Matthias Clasen <mclasen redhat com>
Date: Mon Aug 9 21:39:20 2010 -0400
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.
gtk/gtkwidget.c | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
---
diff --git a/gtk/gtkwidget.c b/gtk/gtkwidget.c
index 3da8d58..8d22c70 100644
--- a/gtk/gtkwidget.c
+++ b/gtk/gtkwidget.c
@@ -5944,9 +5944,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.
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]