[gtk+] Document GtkWidget::state-changed signal properly



commit 392540823274320c27e8897d07a0804a84390042
Author: Christian Dywan <christian twotoasts de>
Date:   Mon Jan 11 10:30:48 2010 +0100

    Document GtkWidget::state-changed signal properly
    
    Fixes: https://bugzilla.gnome.org/show_bug.cgi?id=598383

 gtk/gtkwidget.c |    5 ++++-
 1 files changed, 4 insertions(+), 1 deletions(-)
---
diff --git a/gtk/gtkwidget.c b/gtk/gtkwidget.c
index d9e4ad9..5a4ab99 100644
--- a/gtk/gtkwidget.c
+++ b/gtk/gtkwidget.c
@@ -887,7 +887,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"),



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]