]> Pileus Git - ~andy/gtk/commitdiff
widget: silence g-i scanner warning
authorCosimo Cecchi <cosimoc@gnome.org>
Wed, 30 May 2012 21:31:57 +0000 (17:31 -0400)
committerCosimo Cecchi <cosimoc@gnome.org>
Mon, 25 Jun 2012 18:49:11 +0000 (14:49 -0400)
The parameter should be named the same in the definition and the
declararion.

https://bugzilla.gnome.org/show_bug.cgi?id=677127

gtk/gtkwidget.c
gtk/gtkwidget.h

index 1f933401df27b1df0551eecb8ed75123be8eb8e3..daee052d1870ea302ed04835740efe568811b677 100644 (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
index 33a54d00f9688174ead44e46de081e5e7e304e76..b153dffbd157e919e8c4ddde53ca28d66d36853c 100644 (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);