Set the IM context client window to NULL, not to the window that is about

Fri Sep 20 18:01:26 2002  Owen Taylor  <otaylor@redhat.com>
        * gtk/gtkentry.c (gtk_entry_unrealize): Set the IM
        context client  window to NULL, not to the window that
        is about to be destroyed. (#88231)
This commit is contained in:
Owen Taylor
2002-09-20 22:06:28 +00:00
committed by Owen Taylor
parent e3c24e72b5
commit 106ad58961
7 changed files with 37 additions and 1 deletions

View File

@@ -1,3 +1,9 @@
Fri Sep 20 18:01:26 2002 Owen Taylor <otaylor@redhat.com>
* gtk/gtkentry.c (gtk_entry_unrealize): Set the IM
context client window to NULL, not to the window that
is about to be destroyed. (#88231)
Fri Sep 20 16:56:54 2002 Owen Taylor <otaylor@redhat.com>
* gtk/gtkrc.c (gtk_rc_reparse_all_for_settings):

View File

@@ -1,3 +1,9 @@
Fri Sep 20 18:01:26 2002 Owen Taylor <otaylor@redhat.com>
* gtk/gtkentry.c (gtk_entry_unrealize): Set the IM
context client window to NULL, not to the window that
is about to be destroyed. (#88231)
Fri Sep 20 16:56:54 2002 Owen Taylor <otaylor@redhat.com>
* gtk/gtkrc.c (gtk_rc_reparse_all_for_settings):

View File

@@ -1,3 +1,9 @@
Fri Sep 20 18:01:26 2002 Owen Taylor <otaylor@redhat.com>
* gtk/gtkentry.c (gtk_entry_unrealize): Set the IM
context client window to NULL, not to the window that
is about to be destroyed. (#88231)
Fri Sep 20 16:56:54 2002 Owen Taylor <otaylor@redhat.com>
* gtk/gtkrc.c (gtk_rc_reparse_all_for_settings):

View File

@@ -1,3 +1,9 @@
Fri Sep 20 18:01:26 2002 Owen Taylor <otaylor@redhat.com>
* gtk/gtkentry.c (gtk_entry_unrealize): Set the IM
context client window to NULL, not to the window that
is about to be destroyed. (#88231)
Fri Sep 20 16:56:54 2002 Owen Taylor <otaylor@redhat.com>
* gtk/gtkrc.c (gtk_rc_reparse_all_for_settings):

View File

@@ -1,3 +1,9 @@
Fri Sep 20 18:01:26 2002 Owen Taylor <otaylor@redhat.com>
* gtk/gtkentry.c (gtk_entry_unrealize): Set the IM
context client window to NULL, not to the window that
is about to be destroyed. (#88231)
Fri Sep 20 16:56:54 2002 Owen Taylor <otaylor@redhat.com>
* gtk/gtkrc.c (gtk_rc_reparse_all_for_settings):

View File

@@ -1,3 +1,9 @@
Fri Sep 20 18:01:26 2002 Owen Taylor <otaylor@redhat.com>
* gtk/gtkentry.c (gtk_entry_unrealize): Set the IM
context client window to NULL, not to the window that
is about to be destroyed. (#88231)
Fri Sep 20 16:56:54 2002 Owen Taylor <otaylor@redhat.com>
* gtk/gtkrc.c (gtk_rc_reparse_all_for_settings):

View File

@@ -999,7 +999,7 @@ gtk_entry_unrealize (GtkWidget *widget)
GtkEntry *entry = GTK_ENTRY (widget);
GtkClipboard *clipboard;
gtk_im_context_set_client_window (entry->im_context, entry->text_area);
gtk_im_context_set_client_window (entry->im_context, NULL);
clipboard = gtk_widget_get_clipboard (widget, GDK_SELECTION_PRIMARY);
if (gtk_clipboard_get_owner (clipboard) == G_OBJECT (entry))