gmarshallingtests: Fix prototype () -> (void)
authorColin Walters <walters@verbum.org>
Sat, 27 Oct 2012 16:53:52 +0000 (12:53 -0400)
committerColin Walters <walters@verbum.org>
Sat, 27 Oct 2012 16:53:52 +0000 (12:53 -0400)
Dear Python programmers, () doesn't mean what you think it means in C.

tests/gimarshallingtests.c
tests/gimarshallingtests.h

index 3d6e345..81a6144 100644 (file)
@@ -4563,9 +4563,9 @@ gi_marshalling_tests_filename_list_return (void)
  * Returns: (transfer full): a #GParamSpec
  */
 GParamSpec *
-gi_marshalling_tests_param_spec_return()
+gi_marshalling_tests_param_spec_return (void)
 {
-  return g_param_spec_string("test-param", "test", "This is a test", "42", G_PARAM_READABLE);
+  return g_param_spec_string ("test-param", "test", "This is a test", "42", G_PARAM_READABLE);
 }
 
 /**
index 7768a88..b1276bb 100644 (file)
@@ -961,7 +961,7 @@ void gi_marshalling_tests_gerror_out_transfer_none(GError **err, const gchar **d
 GError *gi_marshalling_tests_gerror_return(void);
 
 /* GParamSpec */
-GParamSpec *gi_marshalling_tests_param_spec_return();
+GParamSpec *gi_marshalling_tests_param_spec_return (void);
 void gi_marshalling_tests_param_spec_out(GParamSpec **param);
 
 /* Overrides */