[virt-tools-list] [PATCH virt-viewer 1/4] compat: add a few GDK_Key defines

Daniel P. Berrange berrange at redhat.com
Tue Jul 30 10:42:48 UTC 2013


On Mon, Jul 22, 2013 at 07:51:56PM +0200, Marc-André Lureau wrote:
> ---
>  src/virt-gtk-compat.h | 2 ++
>  1 file changed, 2 insertions(+)
> 
> diff --git a/src/virt-gtk-compat.h b/src/virt-gtk-compat.h
> index 2a11872..954c322 100644
> --- a/src/virt-gtk-compat.h
> +++ b/src/virt-gtk-compat.h
> @@ -34,6 +34,8 @@ G_BEGIN_DECLS
>  #endif
>  
>  #if GTK_CHECK_VERSION(3, 0, 0)
> +#define GDK_Shift_L GDK_KEY_Shift_L
> +#define GDK_VoidSymbol GDK_KEY_VoidSymbol
>  #define GDK_Control_L GDK_KEY_Control_L
>  #define GDK_Alt_L GDK_KEY_Alt_L
>  #define GDK_Delete GDK_KEY_Delete

ACK


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




More information about the virt-tools-list mailing list