aboutsummaryrefslogtreecommitdiff
path: root/src/timezone-completion.c
diff options
context:
space:
mode:
authorMichael Terry <mike@mterry.name>2011-06-15 10:44:57 -0400
committerMichael Terry <mike@mterry.name>2011-06-15 10:44:57 -0400
commit7f2f5fbb5d6df00f9697bd604b437bbd250cf528 (patch)
tree5dda9b9d7f68c22776a812726adc36b697298a6a /src/timezone-completion.c
parent7b878caf9f39ee8d8a799f6454e079e35fe2a962 (diff)
downloadayatana-indicator-datetime-7f2f5fbb5d6df00f9697bd604b437bbd250cf528.tar.gz
ayatana-indicator-datetime-7f2f5fbb5d6df00f9697bd604b437bbd250cf528.tar.bz2
ayatana-indicator-datetime-7f2f5fbb5d6df00f9697bd604b437bbd250cf528.zip
finish port to gtk3
Diffstat (limited to 'src/timezone-completion.c')
-rw-r--r--src/timezone-completion.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/timezone-completion.c b/src/timezone-completion.c
index 7dcc28e..6ba1e88 100644
--- a/src/timezone-completion.c
+++ b/src/timezone-completion.c
@@ -455,9 +455,9 @@ find_popup_treeview (GtkWidget * widget, GtkTreeModel * model)
static gboolean
entry_keypress (GtkEntry * entry, GdkEventKey *event, TimezoneCompletion * completion)
{
- if (event->keyval == GDK_ISO_Enter ||
- event->keyval == GDK_KP_Enter ||
- event->keyval == GDK_Return) {
+ if (event->keyval == GDK_KEY_ISO_Enter ||
+ event->keyval == GDK_KEY_KP_Enter ||
+ event->keyval == GDK_KEY_Return) {
/* Make sure that user has a selection to choose, otherwise ignore */
GtkTreeModel * model = gtk_entry_completion_get_model (GTK_ENTRY_COMPLETION (completion));
GtkTreeView * view = find_popup_treeview (GTK_WIDGET (entry), model);