[Xfce4-commits] <midori:master> Fix crash on url removal from location bar
Christian Dywan
noreply at xfce.org
Wed May 4 20:30:02 CEST 2011
Updating branch refs/heads/master
to 8cd4cc270ca3dc88cb1476f7e5c483382e45126a (commit)
from 96d522ca8e30bb94c11868ab8fda48ced01ba57d (commit)
commit 8cd4cc270ca3dc88cb1476f7e5c483382e45126a
Author: Alexander Butenko <a.butenka at gmail.com>
Date: Tue May 3 02:08:58 2011 -0400
Fix crash on url removal from location bar
midori/midori-locationaction.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/midori/midori-locationaction.c b/midori/midori-locationaction.c
index 36c4bae..968af2f 100644
--- a/midori/midori-locationaction.c
+++ b/midori/midori-locationaction.c
@@ -926,7 +926,7 @@ midori_location_action_key_press_event_cb (GtkEntry* entry,
selected = MIN (selected + 14, matches -1);
else if (event->keyval == GDK_Page_Up)
selected = MAX (selected - 14, 0);
- else
+ else if (event->keyval != GDK_KP_Delete && event->keyval != GDK_Delete)
g_assert_not_reached ();
path = gtk_tree_path_new_from_indices (selected, -1);
More information about the Xfce4-commits
mailing list