mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2025-08-01 15:03:39 +02:00
Revert "Rename user data parameters to user_data"
This reverts commit da7a31a052
. The renaming of parameters implicitly introduced "closure" annotations in the documentation which are wrong on callbacks.
This commit is contained in:
@@ -300,7 +300,7 @@ typedef void (*GFileProgressCallback) (goffset current_num_bytes,
|
||||
* GFileReadMoreCallback:
|
||||
* @file_contents: the data as currently read.
|
||||
* @file_size: the size of the data currently read.
|
||||
* @user_data: data passed to the callback.
|
||||
* @callback_data: (closure): data passed to the callback.
|
||||
*
|
||||
* When loading the partial contents of a file with g_file_load_partial_contents_async(),
|
||||
* it may become necessary to determine if any more data from the file should be loaded.
|
||||
@@ -311,7 +311,7 @@ typedef void (*GFileProgressCallback) (goffset current_num_bytes,
|
||||
**/
|
||||
typedef gboolean (* GFileReadMoreCallback) (const char *file_contents,
|
||||
goffset file_size,
|
||||
gpointer user_data);
|
||||
gpointer callback_data);
|
||||
|
||||
/**
|
||||
* GFileMeasureProgressCallback:
|
||||
|
Reference in New Issue
Block a user