diff options
author | Javier Jardón <jjardon@gnome.org> | 2010-05-10 08:23:57 +0800 |
---|---|---|
committer | Diego Escalante Urrelo <descalante@igalia.com> | 2010-08-31 04:32:57 +0800 |
commit | 1ff88115568b3905e94a985a022f16f4f3175a07 (patch) | |
tree | e7078a491c2157128a35ce8b5ba88184ae7bf671 | |
parent | a97c6253721d9bc701f05ce3a157458ca057e3d5 (diff) | |
download | gsoc2013-epiphany-1ff88115568b3905e94a985a022f16f4f3175a07.tar gsoc2013-epiphany-1ff88115568b3905e94a985a022f16f4f3175a07.tar.gz gsoc2013-epiphany-1ff88115568b3905e94a985a022f16f4f3175a07.tar.bz2 gsoc2013-epiphany-1ff88115568b3905e94a985a022f16f4f3175a07.tar.lz gsoc2013-epiphany-1ff88115568b3905e94a985a022f16f4f3175a07.tar.xz gsoc2013-epiphany-1ff88115568b3905e94a985a022f16f4f3175a07.tar.zst gsoc2013-epiphany-1ff88115568b3905e94a985a022f16f4f3175a07.zip |
Do not access im_context GtkEntry element directly
Use gtk_entry_reset_im_context() instead.
https://bugzilla.gnome.org/show_bug.cgi?id=595791
-rw-r--r-- | src/bookmarks/ephy-bookmark-action.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/bookmarks/ephy-bookmark-action.c b/src/bookmarks/ephy-bookmark-action.c index 90af3b1fd..241b3785d 100644 --- a/src/bookmarks/ephy-bookmark-action.c +++ b/src/bookmarks/ephy-bookmark-action.c @@ -415,7 +415,11 @@ 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"); |