From 2cfa44faa192ae9cc0d7bb36f1c7dd6f3b929fb3 Mon Sep 17 00:00:00 2001 From: Dieter Verfaillie Date: Tue, 3 Apr 2012 07:47:48 +0200 Subject: Fix malformed GTK-Doc comment blocks: - add missing colons - invalid annotations - invalid parameters and tags - correct parameter name - preserve description indentation - no description parts - comment end marker - invalid empty lines - line numbers AnnotationParser now emits warnings which are considered as errors by "make check" so fix those warnings... https://bugzilla.gnome.org/show_bug.cgi?id=672254 --- tests/scanner/foo.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'tests/scanner/foo.h') diff --git a/tests/scanner/foo.h b/tests/scanner/foo.h index 4b20ed7d..270ee214 100644 --- a/tests/scanner/foo.h +++ b/tests/scanner/foo.h @@ -79,7 +79,7 @@ struct _FooSubInterfaceIface /* explicitly test un-named parameters */ void (*do_moo) (FooSubInterface *self, int, gpointer); - void (*do_baz) (FooSubInterface *self, GCallback callback, gpointer data); + void (*do_baz) (FooSubInterface *self, GCallback callback, gpointer user_data); }; GType foo_sub_interface_get_type (void) G_GNUC_CONST; @@ -88,7 +88,7 @@ void foo_sub_interface_do_bar (FooSubInterface *self); void foo_sub_interface_do_moo (FooSubInterface *self, int, gpointer); void foo_sub_interface_do_baz (FooSubInterface *self, GCallback callback, - gpointer data); + gpointer user_data); struct _FooObject { -- cgit v1.2.1