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 --- calendar/gui/main.c | 1 + calendar/pcs/cal-backend-imc.c | 2 ++ calendar/pcs/cal-factory.c | 2 ++ 3 files changed, 5 insertions(+) (limited to 'calendar') diff --git a/calendar/gui/main.c b/calendar/gui/main.c index 486372463d..de8d8e1c2a 100644 --- a/calendar/gui/main.c +++ b/calendar/gui/main.c @@ -89,6 +89,7 @@ main (int argc, char **argv) component_factory_init (); bonobo_main (); + fprintf (stderr, "main(): Out of bonobo_main(), we are dying cleanly. Have a nice day.\n"); return 0; } diff --git a/calendar/pcs/cal-backend-imc.c b/calendar/pcs/cal-backend-imc.c index 3e079218cf..20c0292793 100644 --- a/calendar/pcs/cal-backend-imc.c +++ b/calendar/pcs/cal-backend-imc.c @@ -560,6 +560,8 @@ cal_destroy_cb (GtkObject *object, gpointer data) IMCPrivate *priv; GList *l; + fprintf (stderr, "cal_destroy_cb(): A Cal was destroyed!\n"); + cal = CAL (object); cbimc = CAL_BACKEND_IMC (data); diff --git a/calendar/pcs/cal-factory.c b/calendar/pcs/cal-factory.c index 9e60815805..83ebd272a3 100644 --- a/calendar/pcs/cal-factory.c +++ b/calendar/pcs/cal-factory.c @@ -274,6 +274,8 @@ backend_last_client_gone_cb (CalBackend *backend, gpointer data) gboolean result; GnomeVFSURI *orig_uri; + fprintf (stderr, "backend_last_client_gone_cb() called!\n"); + factory = CAL_FACTORY (data); priv = factory->priv; -- cgit v1.2.3