[Spice-commits] gtk/spice-widget.c

Marc-André Lureau elmarco at kemper.freedesktop.org
Wed Jan 16 03:47:30 PST 2013


 gtk/spice-widget.c |   11 +++++++++++
 1 file changed, 11 insertions(+)

New commits:
commit 9122f0414be2540c87ffde00d450114ae3f71366
Author: Cole Robinson <crobinso at redhat.com>
Date:   Tue Jan 15 18:57:13 2013 -0500

    Fix introspection for send_keys
    
    Without this I can't find a usable way to call this API with the
    introspected python bindings.
    
    https://bugs.freedesktop.org/show_bug.cgi?id=59444

diff --git a/gtk/spice-widget.c b/gtk/spice-widget.c
index e33a440..9cfb683 100644
--- a/gtk/spice-widget.c
+++ b/gtk/spice-widget.c
@@ -1330,6 +1330,17 @@ static guint get_scancode_from_keyval(SpiceDisplay *display, guint keyval)
     return vnc_display_keymap_gdk2xtkbd(d->keycode_map, d->keycode_maplen, keycode);
 }
 
+
+/**
+ * spice_display_send_keys:
+ * @display: The #SpiceDisplay
+ * @keyvals: (array length=nkeyvals): Keyval array
+ * @nkeyvals: Length of keyvals
+ * @kind: #SpiceDisplayKeyEvent action
+ *
+ * Send keyval press/release events to the display.
+ *
+ **/
 void spice_display_send_keys(SpiceDisplay *display, const guint *keyvals,
                              int nkeyvals, SpiceDisplayKeyEvent kind)
 {


More information about the Spice-commits mailing list