mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2024-12-25 23:16:14 +01:00
Rename ambiguous struct
This commit is contained in:
parent
eeb2bcf5a9
commit
966f887cf9
@ -6621,12 +6621,12 @@ typedef struct {
|
||||
CopyAsyncData *data;
|
||||
goffset current_num_bytes;
|
||||
goffset total_num_bytes;
|
||||
} ProgressData;
|
||||
} CopyProgressData;
|
||||
|
||||
static gboolean
|
||||
copy_async_progress_in_main (gpointer user_data)
|
||||
{
|
||||
ProgressData *progress = user_data;
|
||||
CopyProgressData *progress = user_data;
|
||||
CopyAsyncData *data = progress->data;
|
||||
|
||||
data->progress_cb (progress->current_num_bytes,
|
||||
@ -6643,9 +6643,9 @@ copy_async_progress_callback (goffset current_num_bytes,
|
||||
{
|
||||
GTask *task = user_data;
|
||||
CopyAsyncData *data = g_task_get_task_data (task);
|
||||
ProgressData *progress;
|
||||
CopyProgressData *progress;
|
||||
|
||||
progress = g_new (ProgressData, 1);
|
||||
progress = g_new (CopyProgressData, 1);
|
||||
progress->data = data;
|
||||
progress->current_num_bytes = current_num_bytes;
|
||||
progress->total_num_bytes = total_num_bytes;
|
||||
|
Loading…
Reference in New Issue
Block a user