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:
parent
0bfa8fe50d
commit
720d59d40b
@ -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
|
* gtk/gtkimmulticontext.c: Include config.h
|
||||||
(#96441, Morten Welinder)
|
(#96441, Morten Welinder)
|
||||||
|
|
||||||
|
@ -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
|
* gtk/gtkimmulticontext.c: Include config.h
|
||||||
(#96441, Morten Welinder)
|
(#96441, Morten Welinder)
|
||||||
|
|
||||||
|
@ -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
|
* gtk/gtkimmulticontext.c: Include config.h
|
||||||
(#96441, Morten Welinder)
|
(#96441, Morten Welinder)
|
||||||
|
|
||||||
|
@ -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
|
* gtk/gtkimmulticontext.c: Include config.h
|
||||||
(#96441, Morten Welinder)
|
(#96441, Morten Welinder)
|
||||||
|
|
||||||
|
@ -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
|
* gtk/gtkimmulticontext.c: Include config.h
|
||||||
(#96441, Morten Welinder)
|
(#96441, Morten Welinder)
|
||||||
|
|
||||||
|
@ -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
|
* gtk/gtkimmulticontext.c: Include config.h
|
||||||
(#96441, Morten Welinder)
|
(#96441, Morten Welinder)
|
||||||
|
|
||||||
|
@ -1015,6 +1015,8 @@ gtk_entry_unrealize (GtkWidget *widget)
|
|||||||
GtkEntry *entry = GTK_ENTRY (widget);
|
GtkEntry *entry = GTK_ENTRY (widget);
|
||||||
GtkClipboard *clipboard;
|
GtkClipboard *clipboard;
|
||||||
|
|
||||||
|
gtk_entry_reset_layout (entry);
|
||||||
|
|
||||||
gtk_im_context_set_client_window (entry->im_context, NULL);
|
gtk_im_context_set_client_window (entry->im_context, NULL);
|
||||||
|
|
||||||
clipboard = gtk_widget_get_clipboard (widget, GDK_SELECTION_PRIMARY);
|
clipboard = gtk_widget_get_clipboard (widget, GDK_SELECTION_PRIMARY);
|
||||||
|
Loading…
Reference in New Issue
Block a user