From 174c126b6e913f88e06dd504a311719daafee2e1 Mon Sep 17 00:00:00 2001 From: Christian Dywan Date: Mon, 11 Jan 2010 10:30:48 +0100 Subject: [PATCH] Document GtkWidget::state-changed signal properly Fixes: https://bugzilla.gnome.org/show_bug.cgi?id=598383 --- gtk/gtkwidget.c | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/gtk/gtkwidget.c b/gtk/gtkwidget.c index bc1c561a22..8f277f7c4e 100644 --- a/gtk/gtkwidget.c +++ b/gtk/gtkwidget.c @@ -901,7 +901,10 @@ gtk_widget_class_init (GtkWidgetClass *klass) /** * GtkWidget::state-changed: * @widget: the object which received the signal. - * @state: + * @state: the previous state + * + * The ::state-changed signal is emitted when the widget state changes. + * See gtk_widget_get_state(). */ widget_signals[STATE_CHANGED] = g_signal_new (I_("state-changed"),