diff options
author | Owen Taylor <otaylor@redhat.com> | 2002-10-22 19:50:27 +0000 |
---|---|---|
committer | Owen Taylor <otaylor@src.gnome.org> | 2002-10-22 19:50:27 +0000 |
commit | 720d59d40b494290af481ab3ec0c9efa962cb45c (patch) | |
tree | f2cffa7cfb44a39f6f1535f0e05bc888f6ac886e /gtk | |
parent | 0bfa8fe50d0c017500336d87128a0d775d0f5c72 (diff) | |
download | gdk-pixbuf-720d59d40b494290af481ab3ec0c9efa962cb45c.tar.gz |
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.
Diffstat (limited to 'gtk')
-rw-r--r-- | gtk/gtkentry.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/gtk/gtkentry.c b/gtk/gtkentry.c index 2dda007d5..bfcce2e4f 100644 --- a/gtk/gtkentry.c +++ b/gtk/gtkentry.c @@ -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); |