Re: [PATCH] Fix introspection for send_keys



On Wed, Jan 30, 2013 at 03:23:42PM -0500, Cole Robinson wrote:
> Without this I can't find a usable way to call this API with the
> introspected python bindings.
> 
> https://bugzilla.gnome.org/show_bug.cgi?id=691821
> ---
>  src/vncdisplay.c | 10 ++++++++++
>  1 file changed, 10 insertions(+)

ACK, makes sense - this method signature is too complicated to
get right without annotation.

> 
> 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,


Daniel
-- 
|: http://berrange.com      -o-    http://www.flickr.com/photos/dberrange/ :|
|: http://libvirt.org              -o-             http://virt-manager.org :|
|: http://autobuild.org       -o-         http://search.cpan.org/~danberr/ :|
|: http://entangle-photo.org       -o-       http://live.gnome.org/gtk-vnc :|


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]