[gtk+] docs: don't refer to NO_WINDOW as type
- From: William Jon McCann <mccann src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk+] docs: don't refer to NO_WINDOW as type
- Date: Wed, 22 Jan 2014 04:23:15 +0000 (UTC)
commit 889ba7abf861c9db6c7559e7b3a39ff536546652
Author: William Jon McCann <william jon mccann gmail com>
Date: Tue Jan 21 21:21:01 2014 -0500
docs: don't refer to NO_WINDOW as type
gtk/gtkwidget.c | 15 ++++++++-------
1 files changed, 8 insertions(+), 7 deletions(-)
---
diff --git a/gtk/gtkwidget.c b/gtk/gtkwidget.c
index ad09c86..2c660b6 100644
--- a/gtk/gtkwidget.c
+++ b/gtk/gtkwidget.c
@@ -8788,13 +8788,14 @@ gtk_widget_get_double_buffered (GtkWidget *widget)
* leaves the upper left unchanged when made bigger, turning this
* setting off will improve performance.
- * Note that for %NO_WINDOW widgets setting this flag to %FALSE turns
- * off all allocation on resizing: the widget will not even redraw if
- * its position changes; this is to allow containers that don't draw
- * anything to avoid excess invalidations. If you set this flag on a
- * %NO_WINDOW widget that <emphasis>does</emphasis> draw on @widget->window,
- * you are responsible for invalidating both the old and new allocation
- * of the widget when the widget is moved and responsible for invalidating
+ * Note that for widgets where gtk_widget_get_has_window() is %FALSE
+ * setting this flag to %FALSE turns off all allocation on resizing:
+ * the widget will not even redraw if its position changes; this is to
+ * allow containers that don't draw anything to avoid excess
+ * invalidations. If you set this flag on a widget with no window that
+ * <emphasis>does</emphasis> draw on @widget->window, you are
+ * responsible for invalidating both the old and new allocation of the
+ * widget when the widget is moved and responsible for invalidating
* regions newly when the widget increases size.
**/
void
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]