]> Pileus Git - ~andy/gtk/commitdiff
Document GtkWidget::state-changed signal properly
authorChristian Dywan <christian@twotoasts.de>
Mon, 11 Jan 2010 09:30:48 +0000 (10:30 +0100)
committerTristan Van Berkom <tristan.van.berkom@gmail.com>
Sun, 4 Apr 2010 00:55:13 +0000 (20:55 -0400)
Fixes: https://bugzilla.gnome.org/show_bug.cgi?id=598383
gtk/gtkwidget.c

index bc1c561a222185745ae4a4a581538eee641ba02a..8f277f7c4e24e7fd98f28028c18297377d336fce 100644 (file)
@@ -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"),