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

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

gtk/gtkfontchooser.h

index 93323f30050f532a34a577ed6878c3ae026884eb..f91667c966793f3b8db689862ee7db5453639ad0 100644 (file)
@@ -57,13 +57,13 @@ struct _GtkFontChooserIface
   GTypeInterface base_iface;
 
   /* Methods */
-  PangoFontFamily * (* get_font_family)         (GtkFontChooser  *chooser);
-  PangoFontFace *   (* get_font_face)           (GtkFontChooser  *chooser);
-  gint              (* get_font_size)           (GtkFontChooser  *chooser);
+  PangoFontFamily * (* get_font_family)         (GtkFontChooser  *fontchooser);
+  PangoFontFace *   (* get_font_face)           (GtkFontChooser  *fontchooser);
+  gint              (* get_font_size)           (GtkFontChooser  *fontchooser);
 
-  void              (* set_filter_func)         (GtkFontChooser   *chooser,
+  void              (* set_filter_func)         (GtkFontChooser   *fontchooser,
                                                  GtkFontFilterFunc filter,
-                                                 gpointer          data,
+                                                 gpointer          user_data,
                                                  GDestroyNotify    destroy);
 
   /* Signals */