aboutsummaryrefslogtreecommitdiffstats
path: root/widgets/misc/e-attachment-view.c
diff options
context:
space:
mode:
Diffstat (limited to 'widgets/misc/e-attachment-view.c')
-rw-r--r--widgets/misc/e-attachment-view.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/widgets/misc/e-attachment-view.c b/widgets/misc/e-attachment-view.c
index a80fe32ec0..f641f76f1d 100644
--- a/widgets/misc/e-attachment-view.c
+++ b/widgets/misc/e-attachment-view.c
@@ -29,12 +29,14 @@
#include "e-util/e-selection.h"
#include "e-util/e-ui-manager.h"
#include "e-util/e-util.h"
-#include "e-util/gtk-compat.h"
#include "e-attachment-dialog.h"
#include "e-attachment-handler-image.h"
#include "e-attachment-handler-sendto.h"
+/* backward-compatibility cruft */
+#include "e-util/gtk-compat.h"
+
enum {
UPDATE_ACTIONS,
LAST_SIGNAL
@@ -1323,7 +1325,7 @@ e_attachment_view_key_press_event (EAttachmentView *view,
editable = e_attachment_view_get_editable (view);
- if (event->keyval == GDK_Delete && editable) {
+ if (event->keyval == GDK_KEY_Delete && editable) {
e_attachment_view_remove_selected (view, TRUE);
return TRUE;
}