[spice-gtk v4 17/24] file-xfer: Keep namespace of private function

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Rename:
* file_xfer_close_cb -> spice_file_transfer_task_close_stream_cb

As this will be private to SpiceFileTransferTask
---
 src/channel-main.c | 10 +++++-----
 1 file changed, 5 insertions(+), 5 deletions(-)

diff --git a/src/channel-main.c b/src/channel-main.c
index ef34daa..63f0b9b 100644
--- a/src/channel-main.c
+++ b/src/channel-main.c
@@ -1840,9 +1840,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;
@@ -2960,14 +2960,14 @@ static void spice_file_transfer_task_completed(SpiceFileTransferTask *self,
         return;
 
     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:
-- 
2.7.4

_______________________________________________
Spice-devel mailing list
Spice-devel@xxxxxxxxxxxxxxxxxxxxx
https://lists.freedesktop.org/mailman/listinfo/spice-devel




[Index of Archives]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Security]     [Bugtraq]     [Linux]     [Linux OMAP]     [Linux MIPS]     [ECOS]     [Asterisk Internet PBX]     [Linux API]     [Monitors]