summaryrefslogtreecommitdiff
path: root/gtk/gtkimmulticontext.c
diff options
context:
space:
mode:
authorOwen Taylor <otaylor@redhat.com>2002-02-14 16:18:32 +0000
committerOwen Taylor <otaylor@src.gnome.org>2002-02-14 16:18:32 +0000
commitf412d947c5162435f899dc9e5751a67a924e2fe6 (patch)
treedf53427739db3689e410e2b8d04da57f00dd5c95 /gtk/gtkimmulticontext.c
parentb4edb9da990a3293fd19a90c2f9597776ad4a188 (diff)
downloadgtk+-f412d947c5162435f899dc9e5751a67a924e2fe6.tar.gz
Fix bug where we called get_surrounding on the context,. not the slave.
Thu Feb 14 11:13:22 2002 Owen Taylor <otaylor@redhat.com> * gtk/gtkimmulticontext.c (gtk_im_multicontext_get_surrounding): Fix bug where we called get_surrounding on the context,. not the slave.
Diffstat (limited to 'gtk/gtkimmulticontext.c')
-rw-r--r--gtk/gtkimmulticontext.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gtk/gtkimmulticontext.c b/gtk/gtkimmulticontext.c
index f95ef3e705..3abb72f24d 100644
--- a/gtk/gtkimmulticontext.c
+++ b/gtk/gtkimmulticontext.c
@@ -353,7 +353,7 @@ gtk_im_multicontext_get_surrounding (GtkIMContext *context,
GtkIMContext *slave = gtk_im_multicontext_get_slave (multicontext);
if (slave)
- return gtk_im_context_get_surrounding (context, text, cursor_index);
+ return gtk_im_context_get_surrounding (slave, text, cursor_index);
else
{
if (text)