Mercurial > hg > xemacs-beta
changeset 790:755d0acc05ea
[xemacs-hg @ 2002-03-21 15:47:19 by wmperry]
Fix progress bar crash in GTK
author | wmperry |
---|---|
date | Thu, 21 Mar 2002 15:47:29 +0000 |
parents | 06b73d289047 |
children | 7b1f30330a19 |
files | src/ChangeLog src/event-gtk.c |
diffstat | 2 files changed, 17 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/src/ChangeLog Thu Mar 21 15:13:43 2002 +0000 +++ b/src/ChangeLog Thu Mar 21 15:47:29 2002 +0000 @@ -1,3 +1,11 @@ +2002-03-21 William M. Perry <wmperry@gnu.org> + + * event-gtk.c (emacs_gtk_force_event_pending): Bogus definition + that does nothing right now. + (reinit_vars_of_event_gtk): Register a force_event_pending + handler. This seems to cure the crashes at startup caused by the + progress bar. + 2002-03-21 Malcolm Purvis <malcolmpurvis@optushome.com.au> * event-gtk.c (emacs_gtk_format_magic_event): Fixed compilation
--- a/src/event-gtk.c Thu Mar 21 15:13:43 2002 +0000 +++ b/src/event-gtk.c Thu Mar 21 15:47:29 2002 +0000 @@ -1728,6 +1728,14 @@ return 0; } +static void +emacs_gtk_force_event_pending (struct frame* f) +{ +#if 0 + stderr_out ("Force event pending called on frame %p!\n", f); +#endif +} + /************************************************************************/ /* initialization */ @@ -1758,6 +1766,7 @@ gtk_event_stream->quit_p_cb = emacs_gtk_quit_p; gtk_event_stream->create_stream_pair_cb= emacs_gtk_create_stream_pair; gtk_event_stream->delete_stream_pair_cb= emacs_gtk_delete_stream_pair; + gtk_event_stream->force_event_pending = emacs_gtk_force_event_pending; the_GTK_timeout_blocktype = Blocktype_new (struct GTK_timeout_blocktype);