[gtk-vnc] src: fix arg name consistency in gtk-doc comments
- From: Daniel P. Berrange <dberrange src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk-vnc] src: fix arg name consistency in gtk-doc comments
- Date: Tue, 6 Aug 2019 13:38:32 +0000 (UTC)
commit b2cb968399be941c5ad44499e116c152025ce479
Author: Daniel P. Berrangé <berrange redhat com>
Date: Mon Aug 5 16:54:45 2019 +0100
src: fix arg name consistency in gtk-doc comments
Signed-off-by: Daniel P. Berrangé <berrange redhat com>
src/vncpixelformat.c | 10 +++++-----
1 file changed, 5 insertions(+), 5 deletions(-)
---
diff --git a/src/vncpixelformat.c b/src/vncpixelformat.c
index e8fbe3b..09e89b4 100644
--- a/src/vncpixelformat.c
+++ b/src/vncpixelformat.c
@@ -58,7 +58,7 @@ VncPixelFormat *vnc_pixel_format_new(void)
/**
* vnc_pixel_format_copy:
- * @srcFormat: the format to copy
+ * @format: the format to copy
*
* Allocate a new VNC pixel format struct whose
* contents is initialized with the data found
@@ -67,13 +67,13 @@ VncPixelFormat *vnc_pixel_format_new(void)
*
* Returns: (transfer full): the new pixel format struct
*/
-VncPixelFormat *vnc_pixel_format_copy(VncPixelFormat *srcFormat)
+VncPixelFormat *vnc_pixel_format_copy(VncPixelFormat *format)
{
- VncPixelFormat *format;
+ VncPixelFormat *newformat;
- format = g_slice_dup(VncPixelFormat, srcFormat);
+ newformat = g_slice_dup(VncPixelFormat, format);
- return format;
+ return newformat;
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]