Commit 29e66462 authored by Matthias Clasen's avatar Matthias Clasen

docs: fix parameter name mismatches

parent 68229639
...@@ -769,8 +769,8 @@ gtk_container_child_type (GtkContainer *container) ...@@ -769,8 +769,8 @@ gtk_container_child_type (GtkContainer *container)
/** /**
* gtk_container_child_notify: * gtk_container_child_notify:
* @container: the #GtkContainer * @container: the #GtkContainer
* @widget: the child widget * @child: the child widget
* @child_property: the name of a chld property installed on * @child_property: the name of a child property installed on
* the class of @container * the class of @container
* *
* Emits a #GtkWidget::child-notify signal for the * Emits a #GtkWidget::child-notify signal for the
...@@ -785,17 +785,17 @@ gtk_container_child_type (GtkContainer *container) ...@@ -785,17 +785,17 @@ gtk_container_child_type (GtkContainer *container)
*/ */
void void
gtk_container_child_notify (GtkContainer *container, gtk_container_child_notify (GtkContainer *container,
GtkWidget *widget, GtkWidget *child,
const gchar *child_property) const gchar *child_property)
{ {
GObject *obj; GObject *obj;
GParamSpec *pspec; GParamSpec *pspec;
g_return_if_fail (GTK_IS_CONTAINER (container)); g_return_if_fail (GTK_IS_CONTAINER (container));
g_return_if_fail (GTK_IS_WIDGET (widget)); g_return_if_fail (GTK_IS_WIDGET (child));
g_return_if_fail (child_property != NULL); g_return_if_fail (child_property != NULL);
obj = G_OBJECT (widget); obj = G_OBJECT (child);
if (obj->ref_count == 0) if (obj->ref_count == 0)
return; return;
......
...@@ -199,7 +199,7 @@ void gtk_container_child_get_property (GtkContainer *container, ...@@ -199,7 +199,7 @@ void gtk_container_child_get_property (GtkContainer *container,
void gtk_container_child_notify (GtkContainer *container, void gtk_container_child_notify (GtkContainer *container,
GtkWidget *child, GtkWidget *child,
const gchar *property_name); const gchar *child_property);
/** /**
* GTK_CONTAINER_WARN_INVALID_CHILD_PROPERTY_ID: * GTK_CONTAINER_WARN_INVALID_CHILD_PROPERTY_ID:
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment