diff --git a/ChangeLog b/ChangeLog index 8527bc86fa..e3dca37df0 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +2005-01-24 Matthias Clasen + + * gtk/gtkwidget.c (gtk_widget_class_init): Document + GtkWidget::style-set. (#164222, Alex Graveley) + 2005-01-22 Matthias Clasen * gdk/gdkdisplay.h (gdk_display_add_client_message_filter_full): diff --git a/ChangeLog.pre-2-10 b/ChangeLog.pre-2-10 index 8527bc86fa..e3dca37df0 100644 --- a/ChangeLog.pre-2-10 +++ b/ChangeLog.pre-2-10 @@ -1,3 +1,8 @@ +2005-01-24 Matthias Clasen + + * gtk/gtkwidget.c (gtk_widget_class_init): Document + GtkWidget::style-set. (#164222, Alex Graveley) + 2005-01-22 Matthias Clasen * gdk/gdkdisplay.h (gdk_display_add_client_message_filter_full): diff --git a/ChangeLog.pre-2-8 b/ChangeLog.pre-2-8 index 8527bc86fa..e3dca37df0 100644 --- a/ChangeLog.pre-2-8 +++ b/ChangeLog.pre-2-8 @@ -1,3 +1,8 @@ +2005-01-24 Matthias Clasen + + * gtk/gtkwidget.c (gtk_widget_class_init): Document + GtkWidget::style-set. (#164222, Alex Graveley) + 2005-01-22 Matthias Clasen * gdk/gdkdisplay.h (gdk_display_add_client_message_filter_full): diff --git a/gtk/gtkwidget.c b/gtk/gtkwidget.c index 6bc5c24327..8ebee88176 100644 --- a/gtk/gtkwidget.c +++ b/gtk/gtkwidget.c @@ -630,6 +630,16 @@ gtk_widget_class_init (GtkWidgetClass *klass) _gtk_marshal_VOID__OBJECT, G_TYPE_NONE, 1, GTK_TYPE_WIDGET); + /** + * GtkWidget::style-set: + * @widget: the object on which the signal is emitted + * @previous_style: the previous style, or %NULL if the widget + * just got its initial style + * + * The style-set signal is emitted when a new style has been set + * on a widget. Note that style-modifying functions like + * gtk_widget_modify_base() also cause this signal to be emitted. + */ widget_signals[STYLE_SET] = g_signal_new ("style_set", G_TYPE_FROM_CLASS (gobject_class),