aboutsummaryrefslogtreecommitdiffstats
path: root/src/bookmarks
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
parentd36dfe69183d0e5e1207f2faa290b7867fde2ba0 (diff)
downloadgsoc2013-epiphany-e46901eb21ddd73117ab28e0260c651698e7255b.tar
gsoc2013-epiphany-e46901eb21ddd73117ab28e0260c651698e7255b.tar.gz
gsoc2013-epiphany-e46901eb21ddd73117ab28e0260c651698e7255b.tar.bz2
gsoc2013-epiphany-e46901eb21ddd73117ab28e0260c651698e7255b.tar.lz
gsoc2013-epiphany-e46901eb21ddd73117ab28e0260c651698e7255b.tar.xz
gsoc2013-epiphany-e46901eb21ddd73117ab28e0260c651698e7255b.tar.zst
gsoc2013-epiphany-e46901eb21ddd73117ab28e0260c651698e7255b.zip
Update for latest GTK+ 3.x release.
Diffstat (limited to 'src/bookmarks')
-rw-r--r--src/bookmarks/ephy-bookmark-action.c6
-rw-r--r--src/bookmarks/ephy-bookmarks-editor.c2
2 files changed, 4 insertions, 4 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)
diff --git a/src/bookmarks/ephy-bookmarks-editor.c b/src/bookmarks/ephy-bookmarks-editor.c
index 6a7c27b53..2f81b8c6a 100644
--- a/src/bookmarks/ephy-bookmarks-editor.c
+++ b/src/bookmarks/ephy-bookmarks-editor.c
@@ -1500,7 +1500,7 @@ key_pressed_cb (EphyNodeView *view,
EphyBookmarksEditorPrivate *priv = editor->priv;
GtkAction *action;
- if (event->keyval == GDK_Delete || event->keyval == GDK_KP_Delete)
+ if (event->keyval == GDK_KEY_Delete || event->keyval == GDK_KEY_KP_Delete)
{
action = gtk_action_group_get_action (priv->action_group, "Delete");
if (gtk_action_get_sensitive (action))