[epiphany/gnome-2-30] Revert "Do not access im_context GtkEntry element directly"
- From: Diego Escalante Urrelo <diegoe src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [epiphany/gnome-2-30] Revert "Do not access im_context GtkEntry element directly"
- Date: Mon, 30 Aug 2010 23:14:37 +0000 (UTC)
commit 4ca73a0d775fc4fd0ed8191a18c37517e980eaaf
Author: Diego Escalante Urrelo <descalante igalia com>
Date: Mon Aug 30 17:31:10 2010 -0500
Revert "Do not access im_context GtkEntry element directly"
This reverts commit 1ff88115568b3905e94a985a022f16f4f3175a07.
src/bookmarks/ephy-bookmark-action.c | 4 ----
1 files changed, 0 insertions(+), 4 deletions(-)
---
diff --git a/src/bookmarks/ephy-bookmark-action.c b/src/bookmarks/ephy-bookmark-action.c
index 241b378..90af3b1 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");
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]