aboutsummaryrefslogtreecommitdiffstats
path: root/src/bookmarks/ephy-bookmark-action.c
diff options
context:
space:
mode:
authorXan Lopez <xan@gnome.org>2010-09-11 21:23:56 +0800
committerXan Lopez <xan@gnome.org>2010-09-11 21:23:56 +0800
commite46901eb21ddd73117ab28e0260c651698e7255b (patch)
treed64d99b426c47d707d952b28de0be14f608cb48d /src/bookmarks/ephy-bookmark-action.c
parentd36dfe69183d0e5e1207f2faa290b7867fde2ba0 (diff)
downloadgsoc2013-epiphany-e46901eb21ddd73117ab28e0260c651698e7255b.tar.gz
gsoc2013-epiphany-e46901eb21ddd73117ab28e0260c651698e7255b.tar.zst
gsoc2013-epiphany-e46901eb21ddd73117ab28e0260c651698e7255b.zip
Update for latest GTK+ 3.x release.
Diffstat (limited to 'src/bookmarks/ephy-bookmark-action.c')
-rw-r--r--src/bookmarks/ephy-bookmark-action.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/bookmarks/ephy-bookmark-action.c b/src/bookmarks/ephy-bookmark-action.c
index 241b3785d..f6a432f93 100644
--- a/src/bookmarks/ephy-bookmark-action.c
+++ b/src/bookmarks/ephy-bookmark-action.c
@@ -410,9 +410,9 @@ entry_key_press_cb (GtkEntry *entry,
{
guint state = event->state & gtk_accelerator_get_default_mod_mask ();
- if ((event->keyval == GDK_Return ||
- event->keyval == GDK_KP_Enter ||
- event->keyval == GDK_ISO_Enter) &&
+ if ((event->keyval == GDK_KEY_Return ||
+ event->keyval == GDK_KEY_KP_Enter ||
+ event->keyval == GDK_KEY_ISO_Enter) &&
state == GDK_CONTROL_MASK)
{
#if GTK_CHECK_VERSION (2,21,0)