diff options
author | Victor Toso <victortoso@redhat.com> | 2016-06-22 18:35:42 +0200 |
---|---|---|
committer | Victor Toso <victortoso@redhat.com> | 2016-07-07 16:19:23 +0200 |
commit | bdb13fadc35ed78b72afda7500d932e22343a203 (patch) | |
tree | 4b5cfe626b63fc39cf2de920898ed7ddb9eba857 | |
parent | e6a18607e073f794333c5bad41d2bbb8eb266b2d (diff) |
file-xfer: Keep namespace of private function
Rename:
* file_xfer_close_cb -> spice_file_transfer_task_close_stream_cb
As this will be private to SpiceFileTransferTask
Acked-by: Jonathon Jongsma <jjongsma@redhat.com>
-rw-r--r-- | src/channel-main.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/src/channel-main.c b/src/channel-main.c index 4adc784..c5722f3 100644 --- a/src/channel-main.c +++ b/src/channel-main.c @@ -1839,9 +1839,9 @@ static void main_handle_agent_disconnected(SpiceChannel *channel, SpiceMsgIn *in } /* main context */ -static void file_xfer_close_cb(GObject *object, - GAsyncResult *close_res, - gpointer user_data) +static void spice_file_transfer_task_close_stream_cb(GObject *object, + GAsyncResult *close_res, + gpointer user_data) { SpiceFileTransferTask *self; GError *error = NULL; @@ -2968,14 +2968,14 @@ static void spice_file_transfer_task_completed(SpiceFileTransferTask *self, } if (!self->file_stream) { - file_xfer_close_cb(NULL, NULL, self); + spice_file_transfer_task_close_stream_cb(NULL, NULL, self); goto signal; } g_input_stream_close_async(G_INPUT_STREAM(self->file_stream), G_PRIORITY_DEFAULT, self->cancellable, - file_xfer_close_cb, + spice_file_transfer_task_close_stream_cb, self); self->pending = TRUE; signal: |