Fix send_key introspection bindings
This commit is contained in:
parent
6fff04ea8f
commit
8dcb79ac98
@ -0,0 +1,40 @@
|
||||
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
|
||||
|
@ -24,10 +24,12 @@
|
||||
Summary: A GTK2 widget for VNC clients
|
||||
Name: gtk-vnc
|
||||
Version: 0.5.1
|
||||
Release: 6%{?dist}%{?extra_release}
|
||||
Release: 7%{?dist}%{?extra_release}
|
||||
License: LGPLv2+
|
||||
Group: Development/Libraries
|
||||
Source: http://ftp.gnome.org/pub/GNOME/sources/%{name}/0.5/%{name}-%{version}.tar.xz
|
||||
# Fix send_key introspection bindings
|
||||
Patch1: 0001-Add-introspection-annotation-for-vnc_display_send_ke.patch
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
|
||||
URL: http://live.gnome.org/gtk-vnc
|
||||
Requires: gvnc = %{version}-%{release}
|
||||
@ -182,6 +184,7 @@ Libraries, includes, etc. to compile with the gtk-vnc library
|
||||
%setup -q -n gtk-vnc-%{version} -c
|
||||
pushd gtk-vnc-%{version}
|
||||
%patch0 -p1 -b .bigendian
|
||||
%patch1 -p1
|
||||
popd
|
||||
%if %{with_gtk3}
|
||||
cp -a gtk-vnc-%{version} gtk-vnc2-%{version}
|
||||
@ -367,6 +370,9 @@ rm -fr %{buildroot}
|
||||
%endif
|
||||
|
||||
%changelog
|
||||
* Sat Feb 16 2013 Cole Robinson <crobinso@redhat.com> - 0.5.1-7
|
||||
- Fix send_key introspection bindings
|
||||
|
||||
* Thu Feb 14 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.5.1-6
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user