aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDiego Escalante Urrelo <descalante@igalia.com>2010-08-31 06:31:10 +0800
committerDiego Escalante Urrelo <descalante@igalia.com>2010-08-31 06:31:10 +0800
commit4ca73a0d775fc4fd0ed8191a18c37517e980eaaf (patch)
treec5227311e6589905f30aa7231521f8104fa6d9e9
parentc6f776df6a8660cb886a2c842d073a47726be576 (diff)
downloadgsoc2013-epiphany-4ca73a0d775fc4fd0ed8191a18c37517e980eaaf.tar
gsoc2013-epiphany-4ca73a0d775fc4fd0ed8191a18c37517e980eaaf.tar.gz
gsoc2013-epiphany-4ca73a0d775fc4fd0ed8191a18c37517e980eaaf.tar.bz2
gsoc2013-epiphany-4ca73a0d775fc4fd0ed8191a18c37517e980eaaf.tar.lz
gsoc2013-epiphany-4ca73a0d775fc4fd0ed8191a18c37517e980eaaf.tar.xz
gsoc2013-epiphany-4ca73a0d775fc4fd0ed8191a18c37517e980eaaf.tar.zst
gsoc2013-epiphany-4ca73a0d775fc4fd0ed8191a18c37517e980eaaf.zip
Revert "Do not access im_context GtkEntry element directly"
This reverts commit 1ff88115568b3905e94a985a022f16f4f3175a07.
-rw-r--r--src/bookmarks/ephy-bookmark-action.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/src/bookmarks/ephy-bookmark-action.c b/src/bookmarks/ephy-bookmark-action.c
index 241b3785d..90af3b1fd 100644
--- a/src/bookmarks/ephy-bookmark-action.c
+++ b/src/bookmarks/ephy-bookmark-action.c
@@ -415,11 +415,7 @@ entry_key_press_cb (GtkEntry *entry,
event->keyval == GDK_ISO_Enter) &&
state == GDK_CONTROL_MASK)
{
-#if GTK_CHECK_VERSION (2,21,0)
- gtk_entry_reset_im_context (entry);
-#else
gtk_im_context_reset (entry->im_context);
-#endif
g_signal_emit_by_name (entry, "activate");