diff options
Diffstat (limited to 'src/setup/gnunet-setup-options.c')
-rw-r--r-- | src/setup/gnunet-setup-options.c | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/src/setup/gnunet-setup-options.c b/src/setup/gnunet-setup-options.c index 37d9bd3f..7e62678a 100644 --- a/src/setup/gnunet-setup-options.c +++ b/src/setup/gnunet-setup-options.c | |||
@@ -27,6 +27,7 @@ | |||
27 | #include <gnunet/gnunet_util_lib.h> | 27 | #include <gnunet/gnunet_util_lib.h> |
28 | #include <gdk/gdkkeysyms.h> | 28 | #include <gdk/gdkkeysyms.h> |
29 | 29 | ||
30 | |||
30 | /** | 31 | /** |
31 | * Regular expression for YES | 32 | * Regular expression for YES |
32 | */ | 33 | */ |
@@ -405,7 +406,12 @@ GNUNET_setup_treeview_key_press_event_cb (GtkTreeView * tv, GdkEventKey * event, | |||
405 | gboolean editable; | 406 | gboolean editable; |
406 | 407 | ||
407 | if ((event->type != GDK_KEY_PRESS) || (event->state != 0) || | 408 | if ((event->type != GDK_KEY_PRESS) || (event->state != 0) || |
408 | (event->keyval != GDK_KEY_Delete)) | 409 | #ifdef GDK_Delete |
410 | (event->keyval != GDK_Delete) | ||
411 | #else | ||
412 | (event->keyval != GDK_KEY_Delete) | ||
413 | #endif | ||
414 | ) | ||
409 | return FALSE; | 415 | return FALSE; |
410 | ls = GTK_LIST_STORE (gtk_tree_view_get_model (tv)); | 416 | ls = GTK_LIST_STORE (gtk_tree_view_get_model (tv)); |
411 | if (ls == NULL) | 417 | if (ls == NULL) |