[gtk+] button: Fix typo in keyboard grab's evmask
- From: Carlos Garnacho <carlosg src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk+] button: Fix typo in keyboard grab's evmask
- Date: Tue, 17 May 2011 11:18:23 +0000 (UTC)
commit 52452236bc964677fba6dd98f646351aebf72131
Author: Carlos Garnacho <carlosg gnome org>
Date: Tue May 17 13:12:26 2011 +0200
button: Fix typo in keyboard grab's evmask
https://bugzilla.gnome.org/show_bug.cgi?id=650382, spotted
by Alexander Larsson.
gtk/gtkbutton.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/gtk/gtkbutton.c b/gtk/gtkbutton.c
index ba121b5..9c5e7ab 100644
--- a/gtk/gtkbutton.c
+++ b/gtk/gtkbutton.c
@@ -1871,7 +1871,7 @@ gtk_real_button_activate (GtkButton *button)
{
if (gdk_device_grab (device, priv->event_window,
GDK_OWNERSHIP_WINDOW, TRUE,
- GDK_KEY_PRESS | GDK_KEY_RELEASE,
+ GDK_KEY_PRESS_MASK | GDK_KEY_RELEASE_MASK,
NULL, time) == GDK_GRAB_SUCCESS)
{
gtk_device_grab_add (widget, device, TRUE);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]