[gtk+] docs: Fix wrong description for query-tooltip
- From: Benjamin Otte <otte src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk+] docs: Fix wrong description for query-tooltip
- Date: Sat, 16 Apr 2011 20:42:56 +0000 (UTC)
commit 71e9606e16ec3a0c76c7adb8d81a27cf3eb31019
Author: Benjamin Otte <otte redhat com>
Date: Sat Apr 16 22:01:18 2011 +0200
docs: Fix wrong description for query-tooltip
Coordinates are not relative to widget->window
gtk/gtkwidget.c | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/gtk/gtkwidget.c b/gtk/gtkwidget.c
index 6d50d36..4f1c2bd 100644
--- a/gtk/gtkwidget.c
+++ b/gtk/gtkwidget.c
@@ -2851,9 +2851,9 @@ gtk_widget_class_init (GtkWidgetClass *klass)
* GtkWidget::query-tooltip:
* @widget: the object which received the signal
* @x: the x coordinate of the cursor position where the request has
- * been emitted, relative to @widget->window
+ * been emitted, relative to @widget's left side
* @y: the y coordinate of the cursor position where the request has
- * been emitted, relative to @widget->window
+ * been emitted, relative to @widget's top
* @keyboard_mode: %TRUE if the tooltip was trigged using the keyboard
* @tooltip: a #GtkTooltip
*
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]