[Spice-devel] [PATCH spice-gtk] gtk-doc: fix a few warnings
marcandre.lureau at redhat.com
marcandre.lureau at redhat.com
Fri Jun 1 09:11:00 UTC 2018
From: Marc-André Lureau <marcandre.lureau at redhat.com>
Fixes:
../../src/channel-display.h:131: warning: Field description for SpiceDisplayChannelClass::streaming_mode is not used from source code comment block.
./spice-gtk-unused.txt:1: warning: 1 unused declarations. They should be added to spice-gtk-sections.txt in the appropriate place.
Signed-off-by: Marc-André Lureau <marcandre.lureau at redhat.com>
---
src/channel-display.c | 2 +-
src/channel-display.h | 1 -
2 files changed, 1 insertion(+), 2 deletions(-)
diff --git a/src/channel-display.c b/src/channel-display.c
index 1c0021e..e0520a3 100644
--- a/src/channel-display.c
+++ b/src/channel-display.c
@@ -462,7 +462,7 @@ static void spice_display_channel_class_init(SpiceDisplayChannelClass *klass)
*
* Return: handle for the display window if possible
*
- * The #SpiceDisplayChannel::streaming_mode signal is emitted when
+ * The #SpiceDisplayChannel::streaming-mode signal is emitted when
* spice server is working in streaming mode.
*
* Since 0.35
diff --git a/src/channel-display.h b/src/channel-display.h
index 3129309..5b48d2f 100644
--- a/src/channel-display.h
+++ b/src/channel-display.h
@@ -125,7 +125,6 @@ struct _SpiceDisplayChannel {
* @display_primary_destroy: Signal class handler for the #SpiceDisplayChannel::display-primary-destroy signal.
* @display_invalidate: Signal class handler for the #SpiceDisplayChannel::display-invalidate signal.
* @display_mark: Signal class handler for the #SpiceDisplayChannel::display-mark signal.
- * @streaming_mode: Signal class handler for the #SpiceDisplayChannel::streaming-mode signal.
*
* Class structure for #SpiceDisplayChannel.
*/
base-commit: 717f29cd7e6dc9e52fb872ff7cd2372e9cf1c04a
--
2.17.1.906.g10fd178552
More information about the Spice-devel
mailing list