[accounts-dialog] Fix compilation for GDK keysym changes
- From: Bastien Nocera <hadess src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [accounts-dialog] Fix compilation for GDK keysym changes
- Date: Wed, 6 Oct 2010 13:50:32 +0000 (UTC)
commit 215b5e517f2235009c5756222134defaf32cdade
Author: Bastien Nocera <hadess hadess net>
Date: Wed Oct 6 14:49:46 2010 +0100
Fix compilation for GDK keysym changes
src/um-editable-combo.c | 2 +-
src/um-editable-entry.c | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/src/um-editable-combo.c b/src/um-editable-combo.c
index 06b5d60..586bcdb 100644
--- a/src/um-editable-combo.c
+++ b/src/um-editable-combo.c
@@ -319,7 +319,7 @@ combo_key_press (GtkWidget *widget,
GdkEventKey *event,
UmEditableCombo *combo)
{
- if (event->keyval == GDK_Escape) {
+ if (event->keyval == GDK_KEY_Escape) {
cancel_editing (combo);
return TRUE;
}
diff --git a/src/um-editable-entry.c b/src/um-editable-entry.c
index 914b5b5..2a18323 100644
--- a/src/um-editable-entry.c
+++ b/src/um-editable-entry.c
@@ -411,7 +411,7 @@ entry_key_press (GtkWidget *widget,
GdkEventKey *event,
UmEditableEntry *e)
{
- if (event->keyval == GDK_Escape) {
+ if (event->keyval == GDK_KEY_Escape) {
cancel_editing (e);
}
return FALSE;
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]