Reset the layout, since it holds a reference to the font on a particular

Tue Oct 22 15:46:09 2002  Owen Taylor  <otaylor@redhat.com>

        * gtk/gtkentry.c (gtk_entry_unrealize): Reset the
        layout, since it holds a reference to the font on
        a particular screen.
This commit is contained in:
Owen Taylor 2002-10-22 19:50:27 +00:00 committed by Owen Taylor
parent 0bfa8fe50d
commit 720d59d40b
7 changed files with 44 additions and 6 deletions

View File

@ -1,5 +1,11 @@
Tue Oct 22 15:13:59 2002 Owen Taylor <otaylor@redhat.com>
Tue Oct 22 15:46:09 2002 Owen Taylor <otaylor@redhat.com>
* gtk/gtkentry.c (gtk_entry_unrealize): Reset the
layout, since it holds a reference to the font on
a particular screen.
Tue Oct 22 15:13:59 2002 Owen Taylor <otaylor@redhat.com>
* gtk/gtkimmulticontext.c: Include config.h
(#96441, Morten Welinder)

View File

@ -1,5 +1,11 @@
Tue Oct 22 15:13:59 2002 Owen Taylor <otaylor@redhat.com>
Tue Oct 22 15:46:09 2002 Owen Taylor <otaylor@redhat.com>
* gtk/gtkentry.c (gtk_entry_unrealize): Reset the
layout, since it holds a reference to the font on
a particular screen.
Tue Oct 22 15:13:59 2002 Owen Taylor <otaylor@redhat.com>
* gtk/gtkimmulticontext.c: Include config.h
(#96441, Morten Welinder)

View File

@ -1,5 +1,11 @@
Tue Oct 22 15:13:59 2002 Owen Taylor <otaylor@redhat.com>
Tue Oct 22 15:46:09 2002 Owen Taylor <otaylor@redhat.com>
* gtk/gtkentry.c (gtk_entry_unrealize): Reset the
layout, since it holds a reference to the font on
a particular screen.
Tue Oct 22 15:13:59 2002 Owen Taylor <otaylor@redhat.com>
* gtk/gtkimmulticontext.c: Include config.h
(#96441, Morten Welinder)

View File

@ -1,5 +1,11 @@
Tue Oct 22 15:13:59 2002 Owen Taylor <otaylor@redhat.com>
Tue Oct 22 15:46:09 2002 Owen Taylor <otaylor@redhat.com>
* gtk/gtkentry.c (gtk_entry_unrealize): Reset the
layout, since it holds a reference to the font on
a particular screen.
Tue Oct 22 15:13:59 2002 Owen Taylor <otaylor@redhat.com>
* gtk/gtkimmulticontext.c: Include config.h
(#96441, Morten Welinder)

View File

@ -1,5 +1,11 @@
Tue Oct 22 15:13:59 2002 Owen Taylor <otaylor@redhat.com>
Tue Oct 22 15:46:09 2002 Owen Taylor <otaylor@redhat.com>
* gtk/gtkentry.c (gtk_entry_unrealize): Reset the
layout, since it holds a reference to the font on
a particular screen.
Tue Oct 22 15:13:59 2002 Owen Taylor <otaylor@redhat.com>
* gtk/gtkimmulticontext.c: Include config.h
(#96441, Morten Welinder)

View File

@ -1,5 +1,11 @@
Tue Oct 22 15:13:59 2002 Owen Taylor <otaylor@redhat.com>
Tue Oct 22 15:46:09 2002 Owen Taylor <otaylor@redhat.com>
* gtk/gtkentry.c (gtk_entry_unrealize): Reset the
layout, since it holds a reference to the font on
a particular screen.
Tue Oct 22 15:13:59 2002 Owen Taylor <otaylor@redhat.com>
* gtk/gtkimmulticontext.c: Include config.h
(#96441, Morten Welinder)

View File

@ -1015,6 +1015,8 @@ gtk_entry_unrealize (GtkWidget *widget)
GtkEntry *entry = GTK_ENTRY (widget);
GtkClipboard *clipboard;
gtk_entry_reset_layout (entry);
gtk_im_context_set_client_window (entry->im_context, NULL);
clipboard = gtk_widget_get_clipboard (widget, GDK_SELECTION_PRIMARY);