diff options
author | Matthias Clasen <mclasen@redhat.com> | 2006-08-06 03:32:59 +0000 |
---|---|---|
committer | Matthias Clasen <matthiasc@src.gnome.org> | 2006-08-06 03:32:59 +0000 |
commit | c8b214680d1e8ad6295855c079e725030fa5ba71 (patch) | |
tree | bab5ed9d2aed0fd910643c658fe24b0d1e861da1 /gtk/gtkentrycompletion.c | |
parent | 3495a602a3fbe7c40d4057996a6dc6e0914d84fe (diff) | |
download | gtk+-c8b214680d1e8ad6295855c079e725030fa5ba71.tar.gz |
Export gtk_entry_reset_im_context privately.
2006-08-05 Matthias Clasen <mclasen@redhat.com>
* gtk/gtkentry.c:
* gtk/gtkentryprivate.h: Export gtk_entry_reset_im_context
privately.
* gtk/gtkentrycompletion.c (gtk_entry_completion_action_button_press):
* gtk/gtkentry.c (gtk_entry_completion_key_press): Reset the
entry's im context here. (#348478, Nguyen Thai Ngoc Duy, Christian
Persch)
Diffstat (limited to 'gtk/gtkentrycompletion.c')
-rw-r--r-- | gtk/gtkentrycompletion.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/gtk/gtkentrycompletion.c b/gtk/gtkentrycompletion.c index 77196521d0..179bb01418 100644 --- a/gtk/gtkentrycompletion.c +++ b/gtk/gtkentrycompletion.c @@ -829,6 +829,8 @@ gtk_entry_completion_action_button_press (GtkWidget *widget, if (!GTK_WIDGET_MAPPED (completion->priv->popup_window)) return FALSE; + _gtk_entry_reset_im_context (completion->priv->entry); + if (gtk_tree_view_get_path_at_pos (GTK_TREE_VIEW (widget), event->x, event->y, &path, NULL, NULL, NULL)) |