diff options
author | Alexander Larsson <alexl@redhat.com> | 2012-01-18 20:25:38 +0100 |
---|---|---|
committer | Alexander Larsson <alexl@redhat.com> | 2012-01-18 20:25:38 +0100 |
commit | b14c4cee4309ca6254f7ea2b646ac4a7de8f46d1 (patch) | |
tree | 22dff3faa28110cfcd399e6319ca9e97a4a7cef3 /src/contacts-types.vala | |
parent | 9f7bb19a9b00c9756e03ce5c0be3563881d701c5 (diff) | |
download | gnome-contacts-b14c4cee4309ca6254f7ea2b646ac4a7de8f46d1.tar.gz |
Use the real keysym defines instead of keyval_from_name
Diffstat (limited to 'src/contacts-types.vala')
-rw-r--r-- | src/contacts-types.vala | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/contacts-types.vala b/src/contacts-types.vala index 296a715..537bea9 100644 --- a/src/contacts-types.vala +++ b/src/contacts-types.vala @@ -427,7 +427,7 @@ public class Contacts.TypeCombo : Grid { } private bool entry_key_release (Gdk.EventKey event) { - if (event.keyval == Gdk.keyval_from_name ("Escape")) { + if (event.keyval == Gdk.Key.Escape) { entry.set_text (""); finish_custom (); } |