gtk-vnc/0001-Add-introspection-annotation-for-vnc_display_send_ke.patch
2013-02-16 15:14:36 -05:00

41 lines
1.1 KiB
Diff

From 2c0c674392c9ed51b9679262f114c49dbfdab0f6 Mon Sep 17 00:00:00 2001
Message-Id: <2c0c674392c9ed51b9679262f114c49dbfdab0f6.1361045108.git.crobinso@redhat.com>
From: Cole Robinson <crobinso@redhat.com>
Date: Thu, 31 Jan 2013 10:16:20 +0000
Subject: [PATCH] Add introspection annotation for vnc_display_send_keys
The vnc_display_send_keys method signature is too complex
to be interpreted correctly without some annotations.
https://bugzilla.gnome.org/show_bug.cgi?id=691821
Signed-off-by: Daniel P. Berrange <berrange@redhat.com>
---
src/vncdisplay.c | 10 ++++++++++
1 file changed, 10 insertions(+)
diff --git a/src/vncdisplay.c b/src/vncdisplay.c
index 5c0e994..14df066 100644
--- a/src/vncdisplay.c
+++ b/src/vncdisplay.c
@@ -1615,6 +1615,16 @@ VncConnection * vnc_display_get_connection(VncDisplay *obj)
}
+/**
+ * vnc_display_send_keys:
+ *
+ * @obj: The #VncDisplay
+ * @keyvals: (array length=nkeyvals): Keyval array
+ * @nkeyvals: Length of keyvals
+ *
+ * Send keyval click events to the display.
+ *
+ */
void vnc_display_send_keys(VncDisplay *obj, const guint *keyvals, int nkeyvals)
{
vnc_display_send_keys_ex(obj, keyvals,
--
1.8.1.2