Unset gtk-im-surrounding-info object data again. (Fix from Yao Zhang,

Mon Jul 29 16:42:30 2002  Owen Taylor  <otaylor@redhat.com>

        * gtk/gtkimcontext.c (gtk_im_context_real_get_surrounding):
        Unset gtk-im-surrounding-info object data again.
        (Fix from Yao Zhang, #86811)
This commit is contained in:
Owen Taylor 2002-07-29 21:04:22 +00:00 committed by Owen Taylor
parent ba0a457c84
commit cd44863bd6
7 changed files with 40 additions and 1 deletions

View File

@ -1,3 +1,9 @@
Mon Jul 29 16:42:30 2002 Owen Taylor <otaylor@redhat.com>
* gtk/gtkimcontext.c (gtk_im_context_real_get_surrounding):
Unset gtk-im-surrounding-info object data again.
(Fix from Yao Zhang, #86811)
Fri Jul 26 17:59:06 2002 Owen Taylor <otaylor@redhat.com>
* configure.in: Replace uses of grep \(A\|B\) ... with

View File

@ -1,3 +1,9 @@
Mon Jul 29 16:42:30 2002 Owen Taylor <otaylor@redhat.com>
* gtk/gtkimcontext.c (gtk_im_context_real_get_surrounding):
Unset gtk-im-surrounding-info object data again.
(Fix from Yao Zhang, #86811)
Fri Jul 26 17:59:06 2002 Owen Taylor <otaylor@redhat.com>
* configure.in: Replace uses of grep \(A\|B\) ... with

View File

@ -1,3 +1,9 @@
Mon Jul 29 16:42:30 2002 Owen Taylor <otaylor@redhat.com>
* gtk/gtkimcontext.c (gtk_im_context_real_get_surrounding):
Unset gtk-im-surrounding-info object data again.
(Fix from Yao Zhang, #86811)
Fri Jul 26 17:59:06 2002 Owen Taylor <otaylor@redhat.com>
* configure.in: Replace uses of grep \(A\|B\) ... with

View File

@ -1,3 +1,9 @@
Mon Jul 29 16:42:30 2002 Owen Taylor <otaylor@redhat.com>
* gtk/gtkimcontext.c (gtk_im_context_real_get_surrounding):
Unset gtk-im-surrounding-info object data again.
(Fix from Yao Zhang, #86811)
Fri Jul 26 17:59:06 2002 Owen Taylor <otaylor@redhat.com>
* configure.in: Replace uses of grep \(A\|B\) ... with

View File

@ -1,3 +1,9 @@
Mon Jul 29 16:42:30 2002 Owen Taylor <otaylor@redhat.com>
* gtk/gtkimcontext.c (gtk_im_context_real_get_surrounding):
Unset gtk-im-surrounding-info object data again.
(Fix from Yao Zhang, #86811)
Fri Jul 26 17:59:06 2002 Owen Taylor <otaylor@redhat.com>
* configure.in: Replace uses of grep \(A\|B\) ... with

View File

@ -1,3 +1,9 @@
Mon Jul 29 16:42:30 2002 Owen Taylor <otaylor@redhat.com>
* gtk/gtkimcontext.c (gtk_im_context_real_get_surrounding):
Unset gtk-im-surrounding-info object data again.
(Fix from Yao Zhang, #86811)
Fri Jul 26 17:59:06 2002 Owen Taylor <otaylor@redhat.com>
* configure.in: Replace uses of grep \(A\|B\) ... with

View File

@ -227,7 +227,10 @@ gtk_im_context_real_get_surrounding (GtkIMContext *context,
}
if (info_is_local)
g_free (info->text);
{
g_free (info->text);
g_object_set_data (G_OBJECT (context), "gtk-im-surrounding-info", NULL);
}
return result;
}