mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2025-01-27 06:26:15 +01:00
gmountoperation: Add missing (array) annotations
Two of the vfuncs in GMountOperation need some annotations for their element types and array sizes, otherwise g-ir-scanner comes up with nonsense output. Signed-off-by: Philip Withnall <withnall@endlessm.com> https://bugzilla.gnome.org/show_bug.cgi?id=773980
This commit is contained in:
parent
181eb900d5
commit
b16d7fc1a7
@ -64,6 +64,12 @@ struct _GMountOperationClass
|
|||||||
const char *default_domain,
|
const char *default_domain,
|
||||||
GAskPasswordFlags flags);
|
GAskPasswordFlags flags);
|
||||||
|
|
||||||
|
/**
|
||||||
|
* GMountOperationClass::ask_question:
|
||||||
|
* @op:
|
||||||
|
* @message:
|
||||||
|
* @choices: (array zero-terminated=1) (element-type utf8):
|
||||||
|
*/
|
||||||
void (* ask_question) (GMountOperation *op,
|
void (* ask_question) (GMountOperation *op,
|
||||||
const char *message,
|
const char *message,
|
||||||
const char *choices[]);
|
const char *choices[]);
|
||||||
@ -73,6 +79,15 @@ struct _GMountOperationClass
|
|||||||
|
|
||||||
void (* aborted) (GMountOperation *op);
|
void (* aborted) (GMountOperation *op);
|
||||||
|
|
||||||
|
/**
|
||||||
|
* GMountOperationClass::show_processes:
|
||||||
|
* @op:
|
||||||
|
* @message:
|
||||||
|
* @processes: (element-type GPid):
|
||||||
|
* @choices: (array zero-terminated=1) (element-type utf8):
|
||||||
|
*
|
||||||
|
* Since: 2.22
|
||||||
|
*/
|
||||||
void (* show_processes) (GMountOperation *op,
|
void (* show_processes) (GMountOperation *op,
|
||||||
const gchar *message,
|
const gchar *message,
|
||||||
GArray *processes,
|
GArray *processes,
|
||||||
|
Loading…
Reference in New Issue
Block a user