Add array length annotation to GSignalQuery param_types field
authorSimon Feltman <sfeltman@src.gnome.org>
Sun, 4 Nov 2012 01:59:25 +0000 (18:59 -0700)
committerMartin Pitt <martinpitt@gnome.org>
Sun, 4 Nov 2012 12:51:15 +0000 (13:51 +0100)
https://bugzilla.gnome.org/show_bug.cgi?id=687541

gobject/gsignal.h

index 966b6c7..fbf1c19 100644 (file)
@@ -238,8 +238,8 @@ struct _GSignalInvocationHint
  * @signal_flags: The signal flags as passed in to g_signal_new().
  * @return_type: The return type for user callbacks.
  * @n_params: The number of parameters that user callbacks take.
- * @param_types: The individual parameter types for user callbacks, note that the
- *  effective callback signature is:
+ * @param_types: (array length=n_params): The individual parameter types for
+ *  user callbacks, note that the effective callback signature is:
  *  <programlisting>
  *  @return_type callback (#gpointer     data1,
  *  [param_types param_names,]