[gnome-remote-desktop] clipboard-rdp: Fix comments and output messages
- From: Jonas Ådahl <jadahl src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-remote-desktop] clipboard-rdp: Fix comments and output messages
- Date: Fri, 6 Aug 2021 07:27:28 +0000 (UTC)
commit bf337e4bd60f77446fffc30cf16293fc38e59256
Author: Pascal Nowack <Pascal Nowack gmx de>
Date: Fri Aug 6 08:25:18 2021 +0200
clipboard-rdp: Fix comments and output messages
CLIPRDR does not perform stream file clipping, it performs streaming
operations of file clips.
So, fix that output message. Also fix some comments, to use the word
"notify", instead of "inform", and fix a comment to correctly reflect
the documentation ("can now be released" -> "MUST now be released").
Additionally, set the copyright year correctly, as the clipboard data locking
implementation was done in 2021.
src/grd-clipboard-rdp.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
---
diff --git a/src/grd-clipboard-rdp.c b/src/grd-clipboard-rdp.c
index 3841c20..44bea3d 100644
--- a/src/grd-clipboard-rdp.c
+++ b/src/grd-clipboard-rdp.c
@@ -1,5 +1,5 @@
/*
- * Copyright (C) 2020 Pascal Nowack
+ * Copyright (C) 2020-2021 Pascal Nowack
*
* This program is free software; you can redistribute it and/or
* modify it under the terms of the GNU General Public License as
@@ -1054,7 +1054,7 @@ cliprdr_client_capabilities (CliprdrServerContext *cliprdr_context,
if (cliprdr_context->useLongFormatNames)
g_strv_builder_add (client_capabilities, "long format names");
if (cliprdr_context->streamFileClipEnabled)
- g_strv_builder_add (client_capabilities, "stream file clipping");
+ g_strv_builder_add (client_capabilities, "stream file clip");
if (cliprdr_context->fileClipNoFilePaths)
g_strv_builder_add (client_capabilities, "file clip no file paths");
if (cliprdr_context->canLockClipData)
@@ -1144,7 +1144,7 @@ update_server_format_list (gpointer user_data)
}
/**
- * Client informs us that its clipboard is updated with new clipboard data
+ * Client notifies us that its clipboard is updated with new clipboard data
*/
static uint32_t
cliprdr_client_format_list (CliprdrServerContext *cliprdr_context,
@@ -1507,7 +1507,7 @@ handle_clip_data_entry_destruction (gpointer user_data)
}
/**
- * Client informs us that the file stream data for a specific clip data id can
+ * Client notifies us that the file stream data for a specific clip data id MUST
* now be released
*/
static uint32_t
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]