diff options
author | Matthew Barnes <mbarnes@redhat.com> | 2010-09-18 06:39:59 +0800 |
---|---|---|
committer | Matthew Barnes <mbarnes@redhat.com> | 2010-09-18 06:39:59 +0800 |
commit | afe6f502c326350cc31d34646d5000a964321525 (patch) | |
tree | 9d9469a0ce33428e24e602fdbf87bc496864bc57 /mail/em-folder-tree.c | |
parent | b79bf3d187cabd11df74d2e6e414e41ae637f307 (diff) | |
download | gsoc2013-evolution-afe6f502c326350cc31d34646d5000a964321525.tar.gz gsoc2013-evolution-afe6f502c326350cc31d34646d5000a964321525.tar.zst gsoc2013-evolution-afe6f502c326350cc31d34646d5000a964321525.zip |
Use new GDK keysym names if available.
In GTK+ 2.21.8, the keysym names were renamed from GDK_* to GDK_KEY_*.
I've added backward-compatibility macors to gtk-compat.h, which can be
dumped as soon as we require GTK+ >= 2.22.0.
Diffstat (limited to 'mail/em-folder-tree.c')
-rw-r--r-- | mail/em-folder-tree.c | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/mail/em-folder-tree.c b/mail/em-folder-tree.c index 4fb1615a96..1c0e00d508 100644 --- a/mail/em-folder-tree.c +++ b/mail/em-folder-tree.c @@ -44,7 +44,6 @@ #include "e-util/e-icon-factory.h" #include "e-util/e-alert-dialog.h" #include "e-util/e-util.h" -#include "e-util/gtk-compat.h" #include "misc/e-selectable.h" @@ -66,6 +65,9 @@ #include "e-mail-local.h" +/* backward-compatibility cruft */ +#include "e-util/gtk-compat.h" + #define d(x) #define EM_FOLDER_TREE_GET_PRIVATE(obj) \ @@ -821,7 +823,7 @@ folder_tree_key_press_event (GtkWidget *widget, GtkTreeView *tree_view; if (event && event->type == GDK_KEY_PRESS && - (event->keyval == GDK_space || + (event->keyval == GDK_KEY_space || event->keyval == '.' || event->keyval == ',' || event->keyval == '[' || |