[gtk+] widget: Fix GtkWidget::draw docs
- From: Benjamin Otte <otte src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk+] widget: Fix GtkWidget::draw docs
- Date: Wed, 6 Oct 2010 10:53:52 +0000 (UTC)
commit e3e243688abcdf40cbf25f0841fd1cacd1886ae2
Author: Benjamin Otte <otte redhat com>
Date: Wed Oct 6 12:52:39 2010 +0200
widget: Fix GtkWidget::draw docs
width and height have been gone for a while...
gtk/gtkwidget.c | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
---
diff --git a/gtk/gtkwidget.c b/gtk/gtkwidget.c
index bd404f6..0acf8ea 100644
--- a/gtk/gtkwidget.c
+++ b/gtk/gtkwidget.c
@@ -1341,12 +1341,12 @@ gtk_widget_class_init (GtkWidgetClass *klass)
* GtkWidget::draw:
* @widget: the object which received the signal
* @cr: the cairo context to draw to
- * @width: width of the widget
- * @height: height of the widget
*
* This signal is emitted when a widget is supposed to render itself.
* The @widget's top left corner must be painted at the origin of
- * the passed in context and be sized in the given @width and @height.
+ * the passed in context and be sized to the values returned by
+ * gtk_widget_get_allocated_width() and
+ * gtk_widget_get_allocated_height().
*
* Signal handlers connected to this signal can modify the cairo
* context passed as @cr in any way they like and don't need to
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]