mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2025-04-01 05:13:06 +02:00
Rename ambiguous struct
This commit is contained in:
parent
eeb2bcf5a9
commit
966f887cf9
@ -6621,12 +6621,12 @@ typedef struct {
|
|||||||
CopyAsyncData *data;
|
CopyAsyncData *data;
|
||||||
goffset current_num_bytes;
|
goffset current_num_bytes;
|
||||||
goffset total_num_bytes;
|
goffset total_num_bytes;
|
||||||
} ProgressData;
|
} CopyProgressData;
|
||||||
|
|
||||||
static gboolean
|
static gboolean
|
||||||
copy_async_progress_in_main (gpointer user_data)
|
copy_async_progress_in_main (gpointer user_data)
|
||||||
{
|
{
|
||||||
ProgressData *progress = user_data;
|
CopyProgressData *progress = user_data;
|
||||||
CopyAsyncData *data = progress->data;
|
CopyAsyncData *data = progress->data;
|
||||||
|
|
||||||
data->progress_cb (progress->current_num_bytes,
|
data->progress_cb (progress->current_num_bytes,
|
||||||
@ -6643,9 +6643,9 @@ copy_async_progress_callback (goffset current_num_bytes,
|
|||||||
{
|
{
|
||||||
GTask *task = user_data;
|
GTask *task = user_data;
|
||||||
CopyAsyncData *data = g_task_get_task_data (task);
|
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->data = data;
|
||||||
progress->current_num_bytes = current_num_bytes;
|
progress->current_num_bytes = current_num_bytes;
|
||||||
progress->total_num_bytes = total_num_bytes;
|
progress->total_num_bytes = total_num_bytes;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user