diff options
author | Guillaume Desmottes <guillaume.desmottes@collabora.co.uk> | 2010-09-29 21:45:08 +0800 |
---|---|---|
committer | Guillaume Desmottes <guillaume.desmottes@collabora.co.uk> | 2010-10-04 16:41:29 +0800 |
commit | b70f96a527146903d637ef75434423da9a5b7468 (patch) | |
tree | f8bc2988ba8b36c34245ab0b92c481a0ba5d5ed4 /libempathy-gtk/empathy-presence-chooser.c | |
parent | 23535a4ce054f952aa31012bbbc2fd894ba77ecd (diff) | |
download | gsoc2013-empathy-b70f96a527146903d637ef75434423da9a5b7468.tar gsoc2013-empathy-b70f96a527146903d637ef75434423da9a5b7468.tar.gz gsoc2013-empathy-b70f96a527146903d637ef75434423da9a5b7468.tar.bz2 gsoc2013-empathy-b70f96a527146903d637ef75434423da9a5b7468.tar.lz gsoc2013-empathy-b70f96a527146903d637ef75434423da9a5b7468.tar.xz gsoc2013-empathy-b70f96a527146903d637ef75434423da9a5b7468.tar.zst gsoc2013-empathy-b70f96a527146903d637ef75434423da9a5b7468.zip |
GDK keys are now GDK_KEY_*
Diffstat (limited to 'libempathy-gtk/empathy-presence-chooser.c')
-rw-r--r-- | libempathy-gtk/empathy-presence-chooser.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/libempathy-gtk/empathy-presence-chooser.c b/libempathy-gtk/empathy-presence-chooser.c index cd9b4559c..8258688e2 100644 --- a/libempathy-gtk/empathy-presence-chooser.c +++ b/libempathy-gtk/empathy-presence-chooser.c @@ -525,12 +525,12 @@ presence_chooser_entry_key_press_event_cb (EmpathyPresenceChooser *self, { EmpathyPresenceChooserPriv *priv = GET_PRIV (self); - if (priv->editing_status && event->keyval == GDK_Escape) { + if (priv->editing_status && event->keyval == GDK_KEY_Escape) { /* the user pressed Escape, undo the editing */ presence_chooser_reset_status (self); return TRUE; } - else if (event->keyval == GDK_Up || event->keyval == GDK_Down) { + else if (event->keyval == GDK_KEY_Up || event->keyval == GDK_KEY_Down) { /* ignore */ return TRUE; } |