widget: silence g-i scanner warning

The parameter should be named the same in the definition and the
declararion.

https://bugzilla.gnome.org/show_bug.cgi?id=677127
This commit is contained in:
Cosimo Cecchi 2012-05-30 17:31:57 -04:00
parent ec1904c779
commit 8ff9770c7f
2 changed files with 2 additions and 2 deletions

View File

@ -1689,7 +1689,7 @@ gtk_widget_class_init (GtkWidgetClass *klass)
/**
* GtkWidget::child-notify:
* @widget: the object which received the signal
* @pspec: the #GParamSpec of the changed child property
* @child_property: the #GParamSpec of the changed child property
*
* The ::child-notify signal is emitted for each
* <link linkend="child-properties">child property</link> that has

View File

@ -229,7 +229,7 @@ struct _GtkWidgetClass
void (* grab_notify) (GtkWidget *widget,
gboolean was_grabbed);
void (* child_notify) (GtkWidget *widget,
GParamSpec *pspec);
GParamSpec *child_property);
gboolean (* draw) (GtkWidget *widget,
cairo_t *cr);