From b70f96a527146903d637ef75434423da9a5b7468 Mon Sep 17 00:00:00 2001 From: Guillaume Desmottes Date: Wed, 29 Sep 2010 15:45:08 +0200 Subject: GDK keys are now GDK_KEY_* --- src/empathy-sidebar.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'src/empathy-sidebar.c') diff --git a/src/empathy-sidebar.c b/src/empathy-sidebar.c index de6878055..776e0a81f 100644 --- a/src/empathy-sidebar.c +++ b/src/empathy-sidebar.c @@ -294,10 +294,10 @@ empathy_sidebar_select_button_key_press_cb (GtkWidget *widget, { EmpathySidebar *sidebar = EMPATHY_SIDEBAR (user_data); - if (event->keyval == GDK_space || - event->keyval == GDK_KP_Space || - event->keyval == GDK_Return || - event->keyval == GDK_KP_Enter) + if (event->keyval == GDK_KEY_space || + event->keyval == GDK_KEY_KP_Space || + event->keyval == GDK_KEY_Return || + event->keyval == GDK_KEY_KP_Enter) { gtk_toggle_button_set_active (GTK_TOGGLE_BUTTON (widget), TRUE); -- cgit v1.2.3