[spice-gtk v5 16/23] 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

Acked-by: Jonathon Jongsma <jjongsma@xxxxxxxxxx>
---
 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 7d00154..b1e12e3 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;
@@ -2967,14 +2967,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:
-- 
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]