Add docs for the parent-set signal. (#353772, Mariano Suárez-Alvarez)

2006-09-09  Matthias Clasen <mclasen@redhat.com>

        * gtk/gtkwidget.c: Add docs for the parent-set signal.
        (#353772, Mariano Suárez-Alvarez)
This commit is contained in:
Matthias Clasen 2006-09-09 05:12:49 +00:00 committed by Matthias Clasen
parent 67a6f37ef6
commit 0724c7887b
2 changed files with 16 additions and 0 deletions

View File

@ -1,3 +1,9 @@
2006-09-09 Matthias Clasen <mclasen@redhat.com>
* gtk/gtkwidget.c: Add docs for the parent-set signal.
(#353772, Mariano Suárez-Alvarez)
2006-09-08 Matthias Clasen <mclasen@redhat.com>
* gtk/gtktextbuffer.c (remove_all_selection_clipboards):

View File

@ -620,6 +620,16 @@ gtk_widget_class_init (GtkWidgetClass *klass)
_gtk_marshal_VOID__ENUM,
G_TYPE_NONE, 1,
GTK_TYPE_STATE_TYPE);
/**
* GtkWidget::parent-set:
* @widget: the object on which the signal is emitted
* @old_parent: the previous parent, or %NULL if the widget
* just got its initial parent.
*
* The parent-set signal is emitted when a new parent has been set
* on a widget.
*/
widget_signals[PARENT_SET] =
g_signal_new (I_("parent_set"),
G_TYPE_FROM_CLASS (gobject_class),