[gtk+] docs: don't refer to NO_WINDOW flag
- From: William Jon McCann <mccann src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk+] docs: don't refer to NO_WINDOW flag
- Date: Wed, 22 Jan 2014 00:16:17 +0000 (UTC)
commit 8fb1335d69213635f72d4133cc0dfbae9063fe0f
Author: William Jon McCann <william jon mccann gmail com>
Date: Tue Jan 21 16:12:32 2014 -0500
docs: don't refer to NO_WINDOW flag
gtk/gtkwidget.c | 7 ++++---
1 files changed, 4 insertions(+), 3 deletions(-)
---
diff --git a/gtk/gtkwidget.c b/gtk/gtkwidget.c
index aa92ea5..c0220f5 100644
--- a/gtk/gtkwidget.c
+++ b/gtk/gtkwidget.c
@@ -10513,9 +10513,10 @@ _gtk_widget_restore_size_request (GtkWidget *widget,
* so be careful. This function must be called while a widget is
* unrealized. Consider gtk_widget_add_events() for widgets that are
* already realized, or if you want to preserve the existing event
- * mask. This function can't be used with #GTK_NO_WINDOW widgets;
- * to get events on those widgets, place them inside a #GtkEventBox
- * and receive events on the event box.
+ * mask. This function can't be used with widgets that have no window.
+ * (See gtk_widget_get_has_window()). To get events on those widgets,
+ * place them inside a #GtkEventBox and receive events on the event
+ * box.
**/
void
gtk_widget_set_events (GtkWidget *widget,
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]