use GDK_KEY

This commit is contained in:
TingPing
2013-09-15 03:21:56 -04:00
parent 8b463e6b14
commit ddb3bf05d8
5 changed files with 10 additions and 10 deletions

View File

@@ -88,7 +88,7 @@ rawlog_key_cb (GtkWidget * wid, GdkEventKey * key, gpointer userdata)
* but make sure not to copy twice, i.e. when auto-copy is enabled.
*/
if (!prefs.hex_text_autocopy_text &&
(key->keyval == GDK_c || key->keyval == GDK_C) &&
(key->keyval == GDK_KEY_c || key->keyval == GDK_KEY_C) &&
key->state & STATE_SHIFT &&
key->state & STATE_CTRL)
{