From 84ba8642c55c514b7fe23aa90fabdbd0d90250ab Mon Sep 17 00:00:00 2001 From: Federico Mena Quintero Date: Mon, 10 Jul 2000 09:30:28 +0000 Subject: As a quasi-hack, do a gdk_flush() when the shell view is unrealized so 2000-07-10 Federico Mena Quintero * e-shell-view.c (unrealize): As a quasi-hack, do a gdk_flush() when the shell view is unrealized so that the DeleteEvent gets sent to the remote plugs as soon as possible before we start making other CORBA calls. The problem is that our CORBA pipe is synchronous while our X pipe is asynch. We have to ensure ordering for certain operations. This is NOT the correct and complete fix, which should go in Bonobo. svn path=/trunk/; revision=4030 --- wombat/wombat.c | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'wombat/wombat.c') diff --git a/wombat/wombat.c b/wombat/wombat.c index 0d5b8b7a01..1db39e5673 100644 --- a/wombat/wombat.c +++ b/wombat/wombat.c @@ -40,8 +40,10 @@ static gboolean termination_handler (gpointer data) { if (cal_factory_get_n_backends (cal_factory) == 0 - && pas_book_factory_get_n_backends (pas_book_factory) == 0) + && pas_book_factory_get_n_backends (pas_book_factory) == 0) { + fprintf (stderr, "termination_handler(): Terminating the Wombat. Have a nice day.\n"); gtk_main_quit (); + } termination_handler_id = 0; return FALSE; @@ -94,6 +96,7 @@ setup_pas (int argc, char **argv) static void last_calendar_gone_cb (CalFactory *factory, gpointer data) { + fprintf (stderr, "last_calendar_gone_cb() called! Queueing termination...\n"); queue_termination (); } -- cgit